missingValues:"gap" not working on StockChart

2 posts, 0 answers
  1. Sriram
    Sriram avatar
    5 posts
    Member since:
    Dec 2014

    Posted 09 Oct Link to this post


    missingValues:"gap" not working on stockchart. "Interpolated", "Zero", these options work. But if my series contains null values and i make the missingValues option to "gap" then it is failing. Chart vanishes in that case. Looks like a bug to me.

    Anyone has any idea?


  2. Tsvetina
    Tsvetina avatar
    2107 posts

    Posted 10 Oct Link to this post

    Hi Sriram,

    Can you show us a Dojo demonstrating the issue, so we can gather more information about the scenario. Or, if not possible, can you show us your full Chart declaration and a sample of the data that you use to populate it?

    In the meantime, there have been cases when the Stock Chart navigator series disappear when setting missingValues: "gap", but this is under certain conditions when the baseUnit of the navigator category axis is switched to a unit that is more detailed than the data passed to the Chart. In such a case, it could help if you set the navigator categoryAxis.baseUnit value explicitly by using the Chart dataBound event:
    dataBound: function(e) {
      e.sender.options.categoryAxis[1].baseUnit = "days";

    However, without seeing your Chart, I cannot tell if this would work in your scenario. If it doesn't help, please send us a Dojo or the related code and sample data.

    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top