This is a migrated thread and some comments may be shown as answers.

Hide vertical gridlines

2 Answers 776 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Amrinder
Top achievements
Rank 1
Amrinder asked on 07 Jun 2012, 07:55 PM
Hi Kendo Team,

I am trying to hide the vertical gridlines (default light gray colored) in the Chart control but it is not working. It does work for majorGridLines though and I cannot find something similar for the vertical gridlines. Is this possible?

Thanks

2 Answers, 1 is accepted

Sort by
0
Accepted
Iliana Dyankova
Telerik team
answered on 08 Jun 2012, 10:33 AM
Hi Amrinder,

I am not sure what may cause the problem in your application, but you could configure the vertical grid lines via the majorGridLines configuration option of the axеs. For convenience, I send a simple project which illustrates such approach in action.

 

Greetings,
Iliana Nikolova
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Amrinder
Top achievements
Rank 1
answered on 08 Jun 2012, 03:00 PM
Hi Iliana,

Thanks for the response. The project you attached did work! Actually you have to hide majorGridLines on both the valueAxis and categoryAxis and I only had it on the valueAxis in my code earlier.

Thanks,
Amrinder
Tags
Charts
Asked by
Amrinder
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Amrinder
Top achievements
Rank 1
Share this question
or