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

StockChart navigator valueAxis

2 Answers 99 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Stefania
Top achievements
Rank 1
Stefania asked on 08 Nov 2013, 12:10 PM
It is not possible to set valueAxis properties for StockChart Navigator. If we have a chart as in the attached image, we have the blue line in the main chart and also in the navigator, but they seems different. This is because the valueAxis of the line chart is from 0 to 120000 (from 0 because we have the other violet line with values near 0), whereas the navigator "valueAxis" is from 98000 to 104000 (the same in the main line chart, if we put just the blue line and we remove the violet one).

2 Answers, 1 is accepted

Sort by
0
Accepted
T. Tsonev
Telerik team
answered on 12 Nov 2013, 04:35 PM
Hi,

The value axis of the navigator is not directly exposed and this is something that we're looking forward to fix.

In the meantime you can use the axisDefaults (global) options to configure it:
$("#chart").kendoStockChart({
  axisDefaults: {
      min: 0,
      max: 100
  },
  valueAxis: {
    // Clean up the defaults for the main value axis
    min: null,
    max: null
  }
});


Apologies for the caused inconvenience.

Regards,
T. Tsonev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Stefania
Top achievements
Rank 1
answered on 12 Nov 2013, 05:35 PM
Thanks! :)
Tags
Charts
Asked by
Stefania
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Stefania
Top achievements
Rank 1
Share this question
or