I made a LineChart with (in the javascript):
categoryAxis: {categories: ['Mars(2012)', 'Avril(2012)', 'Mai(2012)', 'Juin(2012)', 'Aout(2012)', 'Sept(2012)',]},
I would like to decrease the width of the Graph, and so display for each category:
month
(year)
Thanks
1 Answer, 1 is accepted
0
Iliana Dyankova
Telerik team
answered on 08 Mar 2013, 10:00 AM
Hi Taymans,
Up to your questions:
You can change the Chart's width via the width configuration option of the chartArea. For example:
$("#chart").kendoChart({
//...
chartArea: {
width: 800
}
});
I am afraid it is not possible to display the categoryAxis's labels in two rows and there is no suitable workaround I can suggest. Please accept my apologies for the inconvenience caused.
Regards,
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!