Reputation: 3389
How to draw X-axis grid, ie draw horizontal line against y=axis value? please help me out?
sri
Upvotes: 2
Views: 4715
Reputation: 27381
You need to set the majorGridLineStyle
and/or minorGridLineStyle
properties on your axes. See CPTestApp in the examples folder for some sample code.
Upvotes: 9