PDA

View Full Version : Darken the axis Grid Line at '0'



dillu5c5
19 Aug 2014, 11:50 PM
Hi all,
I have to darken the chart Axis grid particularly at '0' position.Consider we have negative and positive data values in the chart data then the chart plots properly but it makes us difficult to identitfy the axis at '0'. I tried working with "grid" configuration but it has only "even" and "odd" configs for the sprite. Please help me to fix it I just need the customizable line at '0' level. Please find the fiddle to see my work.


http://jsfiddle.net/Dillu5c5/tsopca4w/1/

Gary Schlosberg
22 Aug 2014, 8:15 AM
No configuration I know of to do that, but you can draw a line there to emphasize it. Have a look at Ext.draw, which can create SVG, as with this example:
http://docs.sencha.com/extjs/4.2.1/#!/example/draw/Tiger.html

A one pixel high rectangle might do the trick.