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

missingValues:"gap" not working on StockChart

1 Answer 90 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Sriram
Top achievements
Rank 1
Sriram asked on 09 Oct 2017, 06:13 AM

Hi,

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?

Regards,
Sriram

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 10 Oct 2017, 03:35 PM
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.

Regards,
Tsvetina
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.
Tags
Charts
Asked by
Sriram
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or