Charts are not displayed if sourceData has null values

Stimulsoft Reports.JS discussion
Post Reply
jorgeunimicro
Posts: 1
Joined: Tue Jul 10, 2018 9:39 am

Charts are not displayed if sourceData has null values

Post by jorgeunimicro »

Hello, on charts if source data has null values charts are not showed.

For example, this data will make charts to not display:

Code: Select all

 [{"PeriodNo":7,"Sum":null,"Income":null,"Cost":null},{"PeriodNo":8,"Sum":null,"Income":null,"Cost":null}]
if we change null by 0, it work. But being right it is not the same null and 0. It can be the same in the chart, but maybe not in the application.

I think that could be solved. For example, making charts ignoring null data or treat null as 0.


I attach an example.
Attachments
Chart2.zip
(15.22 KiB) Downloaded 109 times
Lech Kulikowski
Posts: 6198
Joined: Tue Mar 20, 2018 5:34 am

Re: Charts are not displayed if sourceData has null values

Post by Lech Kulikowski »

Hello,

We are working on the problem. We will let you know when the solution is available.

Thank you.
Post Reply