Hi Community,
we are facing the following issue when using UltraWebChart:
When there is only a single data series, everything works fine (see screenshot 1). However, when an additional series is added, additonal data ticks appear in the series where no measured values are present (not even in the other series) (screenshot 2). Both rows of numbers have no null values. Nevertheless null values are acceptable - these values should be interpolated (NullHandling.InterpolateSimple). Is there a bug?
The website build upon ASP.NET20 and we use UltraWebChart Version 11.1.20111.2020.
Thanks and regards
Dominik
Hi Dominik,
I reviewed your sample and logged the issue in our internal tracking system with a Development ID of 127237. I created a support case on your behalf with number CAS-101596-M4P3G9. You can view the status of the development issue by going to “Account > Support Activity” on our website, selecting your case and clicking the "Development Issues" tab.
If you have any questions, please feel free to contact me.
Hi Nikolay,
please find attached a pdf demonstration the problem in more detail. On chart 1 everything looks fine. In chart 2 I’ve only changed one date from 01.04.2012 to 20.04.2012. There is a null value rendered in line1 although there is no corresponding value set for the specific date.
I’ve tried to disable the icon for the null value-points:
this.UltraChart1.Data.EmptyStyle.PointStyle.Icon = SymbolIcon.None;
But the icons for null values are still rendered. Could you please give me an example, how to eliminate those null-value points?
It seems that it is not possible to hide null data points - they will always be rendered if you use NullHandling.InterpolateSimple or InterpolateCustom. You can, however, customize their appearance or set custom values for them. Here are two related articles:
http://help.infragistics.com/NetAdvantage/ASPNET/2012.1/CLR4.0/?page=Chart_Null_Values.html
http://help.infragistics.com/NetAdvantage/ASPNET/2012.1/CLR4.0/?page=Chart_Customize_the_Display_of_Null_Values.html
If you have any other questions, please do not hesitate to ask.
Hello Nikolay,
unfortunately rendering NullValues as "Zero" or "DontPlot" is not an option for us. We have to interpolate missing values - which works fine when there is only a single time series in the plot (see first screen shot).
In the sample code, when you comment out null values from the series containing null values, these values are rendered as phantom values anyway even when using "InterpolateSimple".
The phantom values appear although there aren’t values for specific dates in both series.
Maybe it's an option to use custom interpolation? If yes, do you have a small sample for me?
Hello Dominik,
In your example you have null values for one of the lines and NullHandling property set to InterpolateSimple. That's why you are seeing the dots rendered on the line where there are null values. You could use NullHandling "Zero" or "DontPlot" to avoid that.