Return to line in category axis

2 posts, 0 answers
  1. Seb
    Seb avatar
    10 posts
    Member since:
    Oct 2010

    Posted 07 Mar 2013 Link to this post

    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
  2. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2622 posts

    Posted 08 Mar 2013 Link to this post

    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!

Back to Top