View Full Version : adjust labels in line chart

2 Mar 2012, 3:05 AM
Hello, I have problems with a LineChart. I would like to build LineChart with large range data for x axis.
For example y(x) = x*x; {-1000, 1000}. I can set min x, max x and step, but all labels will be shown and it looks not so good.


How can I arrange it?


6 Mar 2012, 8:02 PM
I would use a label provider on the axis. A good example is the numeric axis in the stacked bar example. http://sencha.com/examples-dev/#ExamplePlace:stackedbarchart
(http://sencha.com/examples-dev/#ExamplePlace:stackedbarchart)Here 100000000 is changed to the more readable 100M.