23 Jan 2012 7:43 AM #1
Unanswered: Line chart with x axis centered at 0 of y axis
Is it possible to create a line chart where the x axis is centered at 0 of the y axis, and the y values ranger from -100 to 100? In the documentation, the only positions I see for an an axis are left, bottom, right, and top.
Also, is it possible to change the label color of the y axis, so the negative numbers are red?
23 Jan 2012 12:41 PM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
First answer is no. Second answer is you may have to create your own theme... haven't looked into that myself.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
23 Jan 2012 1:01 PM #3
This is a bug, can we treat it as such?
We have data that has negative values but zero makes sense as the X axis. I think this is a bug and a fairly serious one considering our charting needs.