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

Return to line in category axis

1 Answer 15 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Seb
Top achievements
Rank 1
Seb asked on 07 Mar 2013, 02:16 PM
Hi,

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

Sort by
0
Iliana Nikolova
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!

Tags
Charts
Asked by
Seb
Top achievements
Rank 1
Answers by
Iliana Nikolova
Telerik team
Share this question
or