141 end |
141 end |
142 |
142 |
143 function writers:axes() |
143 function writers:axes() |
144 local axes, ranges = {}, {}; |
144 local axes, ranges = {}, {}; |
145 local labels, positions = {}, {}; |
145 local labels, positions = {}, {}; |
146 local styles = {}; |
146 local styles, ticklengths = {}, {}; |
147 |
147 |
148 for index, axis in ipairs(self.axes) do |
148 for index, axis in ipairs(self.axes) do |
149 index = index - 1; |
149 index = index - 1; |
150 table.insert(axes, axis.type); |
150 table.insert(axes, axis.type); |
151 if axis.options.range then |
151 if axis.options.range then |