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

Stock Chart static valueAxis possibility

7 Answers 45 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Burak
Top achievements
Rank 1
Burak asked on 18 Apr 2014, 08:39 AM
Hello,

I need to have a value Axis in stock chart, that needs to be static, which means have a fixed range and labels and never change with the navigation. I have control over min & max values of an value Axis but those are loosely defined, I need a strict fixed min max values set for valueAxis. Is this possible? If so what is the way to achieve this. Thanks =)

7 Answers, 1 is accepted

Sort by
0
Burak
Top achievements
Rank 1
answered on 18 Apr 2014, 09:13 AM
Hey again, 

and I have this another question, is it possible to have a range varying valueAxis, but on a fixed point? For example I want to have the max label value at the top of the chart, not waving up and down while I navigate? Thanks.
0
Hristo Germanov
Telerik team
answered on 22 Apr 2014, 07:30 AM
Hello Burak,

1) If you want your axis to be fixed you can create a new axis and hide the default one or you can simply add max/min to the default axis.
2) You can do this with the Kendo Chart.

Regards,
Hristo Germanov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Burak
Top achievements
Rank 1
answered on 22 Apr 2014, 11:48 AM
I know the first point, I was trying to do that, but only problem is while navigating I see a variaty of values, thus range changes dramatically, so I need to fix the secondary hidden value axis' range. There should be a way of doing it in Stock Chart too, how do you do it in Kendo Chart?
0
Accepted
Hristo Germanov
Telerik team
answered on 24 Apr 2014, 10:36 AM
Hello Burak,

Can you try to set majorUnit minorUnit min and max? This will make your axis to be with fixed labels.

Regards,
Hristo Germanov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Burak
Top achievements
Rank 1
answered on 24 Apr 2014, 10:45 AM
That worked great, thanks a lot! :)
0
Burak
Top achievements
Rank 1
answered on 24 Apr 2014, 01:48 PM
Hello again, I have a small extra question...

I have this separate source with a different axis, but now I need to show it on my navigator... But adding an extra valueAxis seems to be not working on navigator. Is it not possible or I somehow implement it falsely?

I do it similar to the main chart;

valueAxes: myOpts.valueAxesOptions,  //this works on my main chart
navigator: {
        tooltip: false,
        visible: !myOpts.isMin,
        labels: {
                font: "14px Calibri Light"
            },
       seriesDefaults: {
            tooltip: false
       },
       valueAxes: myOpts.valueAxesOptions,   //this does not :(
       series: myOpts.navSeriesOptions,
       select: {
           from: myOpts.xAxisMin,
           to: myOpts.xAxisMax
       }
},
0
Hristo Germanov
Telerik team
answered on 28 Apr 2014, 08:10 AM
Hello Burak,

The major idea for the navigator is to be simple because of that the stock chart support only one value axis.

Regards,
Hristo Germanov
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
Burak
Top achievements
Rank 1
Answers by
Burak
Top achievements
Rank 1
Hristo Germanov
Telerik team
Share this question
or