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

Stock Chart and Changing the navigation and graph

2 Answers 75 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Tristian Fernandez
Top achievements
Rank 1
Tristian Fernandez asked on 14 Apr 2015, 04:00 PM

I have three stock charts on one page and as a person selects the navigation for one I would like the slider and graphs to update on the other charts.  I've figured out the navigation slider, but I can't get the other charts to refresh elegantly. 

 

.....

select: function (e) {
fnAdjustChartTimeSelections(kendo.toString(kendo.parseDate(e.from, 'yyyy-MM-dd'), 'MM/dd/yyyy'), kendo.toString(kendo.parseDate(e.to, 'yyyy-MM-dd'), 'MM/dd/yyyy'),'SAR');

},

 

function fnAdjustChartTimeSelections(StartDate, EndDate, src) {
switch (src.toUpperCase()) {
case "SAR":
$("#utilvspricechart").data("kendoStockChart")._navigator.selection.set(new Date(StartDate), new Date(EndDate));
$("#lendablevsonloanchart").data("kendoStockChart")._navigator.selection.set(new Date(StartDate), new Date(EndDate));

............. Changes the selects but I can't get the graphs to update with the newly selected ranges..

 

 

2 Answers, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 16 Apr 2015, 12:59 PM
Hello,

This is currently not available as a public method, but it is possible. I have a sample set up over here.

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
Tristian Fernandez
Top achievements
Rank 1
answered on 16 Apr 2015, 03:46 PM
This is great.  Thanks for your help!
Tags
Charts
Asked by
Tristian Fernandez
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Tristian Fernandez
Top achievements
Rank 1
Share this question
or