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

How do I change the scale dynamically?

4 Answers 75 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Xavier
Top achievements
Rank 1
Xavier asked on 23 Mar 2015, 06:57 PM
I want to change the valueAxis scale between 'log' and 'numeric' dynamically.

Is this the correct way to do it?

http://dojo.telerik.com/ejapE/2

4 Answers, 1 is accepted

Sort by
0
Xavier
Top achievements
Rank 1
answered on 23 Mar 2015, 07:50 PM
And how would I do it if there where multiple charts on one page?

0
Xavier
Top achievements
Rank 1
answered on 23 Mar 2015, 08:18 PM
I solved the problem to get multiple charts to work but
I can't seem to get  this to work on charts that have aggregates.

seriesDefaults: {
type: "line",
style: "smooth",
aggregate: "sum",
field: "value",
categoryField: "date"
},
categoryAxis: {
baseUnit: "fit",
maxDateGroups: 15
},

0
Accepted
Iliana Dyankova
Telerik team
answered on 25 Mar 2015, 01:11 PM
Hi Xavier,

I tested this scenario and everything is working as expected. Could you please take a look at this dojo and let me know if I am missing something? 

Regards,
Iliana Nikolova
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Xavier
Top achievements
Rank 1
answered on 26 Mar 2015, 12:44 AM
It work fine in your example.  I even tried to add my stuff in and it still works.
http://dojo.telerik.com/eGAje

I will have to see what is the problem in my code.

Thanks.
Tags
Charts
Asked by
Xavier
Top achievements
Rank 1
Answers by
Xavier
Top achievements
Rank 1
Iliana Dyankova
Telerik team
Share this question
or