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

Multiple categroy axes On stock chart

1 Answer 70 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Gabor
Top achievements
Rank 1
Gabor asked on 28 Aug 2013, 02:02 PM
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

1 Answer, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 29 Aug 2013, 11:52 AM
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!
Tags
Charts
Asked by
Gabor
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Share this question
or