Stock Chart and Changing the navigation and graph

3 posts, 0 answers
  1. Tristian Fernandez
    Tristian Fernandez avatar
    18 posts
    Member since:
    Nov 2009

    Posted 14 Apr 2015 Link to this post

    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. T. Tsonev
    Admin
    T. Tsonev avatar
    2817 posts

    Posted 16 Apr 2015 Link to this post

    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!
     
  3. Tristian Fernandez
    Tristian Fernandez avatar
    18 posts
    Member since:
    Nov 2009

    Posted 16 Apr 2015 in reply to T. Tsonev Link to this post

    This is great.  Thanks for your help!
Back to Top