Closed GoogleCodeExporter closed 9 years ago
For the scatterplot, -numberForPlot:field:recordIndex: will be called twice for
each index, once for the X value and once for the Y value. Check the field
argument to see which value is being requested. What you're seeing is correct.
The bar plot works the same way. It should query the datasource twice for each
bar, once for the location and once for the length. If you use the plotRange
property, it will only ask for the lengths (the locations will be computed
automatically).
Do you have more than one bar plot in your graph? Two bar plots would make a
total of four datasource calls at each index.
Are you calling -reloadData on the graph or any of the bar plots? That method
causes the plot request all of its data again.
Eric
Original comment by eskr...@mac.com
on 30 Aug 2010 at 9:28
Original comment by drewmcco...@mac.com
on 13 Oct 2010 at 10:02
Original issue reported on code.google.com by
Hummer10...@gmail.com
on 30 Aug 2010 at 9:34