Multiple categroy axes On stock chart

2 posts, 0 answers
  1. Gabor
    Gabor avatar
    1 posts
    Member since:
    Aug 2013

    Posted 28 Aug 2013 Link to this post

    Hi 
    I am having difficulties with the Multiple pain chart.
    I would like to assign multiple charts for one navigation slider, which is fine, but when I would like to make the category axis pane visible on every single chart it is only let me to do that for one chart. It is possible to print for every single one. 
    Thank you very much for your help.
    Regards.
    M. Gabor
  2. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2622 posts

    Posted 29 Aug 2013 Link to this post

    Hello Gabor,

    In order to achieve this you should define multiple categoryAxis and associate each of them with the pane that the axis should be rendered in (documentation link). For example:

    $("#stock-chart").kendoStockChart({
      //....
      categoryAxis: [{
         name: "axis1",
         pane: "firstPane",
         field: "Date"
      }, {
         name: "axis2",
         pane: "secondPane",
         field: "Date"
    }],
      panes: [{
         title: "firstPane",
         name: "firstPane"
        }, {
         name: "secondPane",
         title: "secondPane",
     }],
    });
      Regards,
    Iliana Nikolova
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top