Home > Forum > General > Line chart - presenting nulls as zeros

Line chart - presenting nulls as zeros
0

Hi,

I've inserted a line chart to my form. It gets data from database (4 columns). 2 columns are presented on a chart as data series. Sometimes there are nulls in one of the columns. Then Webcon interpreters it as 0. Do you know any countermeasures to it? If there is a null value from the database, then it shouldn't show that line at the given point in time.

I attach a photo of that such graph with nulls as zeros.

Would be grategul for your help.

To address the issue of null values being seen as 0, try setting up verification of data prior to chart rendering. https://nullsbrawl.gg Filter out null values in your data processing logic so that they do not show as 0. In addition, change the chart elements to omit null values and only show data points where valid values exist.