Page 1 of 1

Chart series - ShowNulls always true

Posted: Wed Sep 05, 2018 7:01 am
by vineet
Hi,

I have a very simple chart. It has a column where some values can be NULL and I want to hide these data points. But, as soon as I use my custom CacheHelper class, the setting to ShowNulls within chart series is ignored and they are all printed regardless.

StiWebViewer.CacheHelper = new StimulsoftViewerCacheHelper();

CacheViewer line commented (display is correct):
Correctly hiding the NULLs
Correctly hiding the NULLs
2018-09-05_114150.jpg (32.22 KiB) Viewed 3123 times
CacheViewer line uncommented (display is wrong):
Incorrectly displaying NULLs
Incorrectly displaying NULLs
2018-09-05_165506.jpg (34.31 KiB) Viewed 3123 times
I have also attached a C# project if you want to replicate. You will have to restore packages from NuGet and build it again.

Cheers,
Vineet

Re: Chart series - ShowNulls always true

Posted: Wed Sep 05, 2018 12:05 pm
by vineet
I can replicate this behaviour by setting CacheMode = "StringCache" on the WebViewer tag:

<cc1:StiWebViewer ID="StiWebViewer1" runat="server" CssClass="vwr"
OnGetReportData="StiWebViewer1_OnGetReportData"
OnGetReport="StiWebViewer1_OnGetReport"
OnViewerEvent="StiWebViewer1_OnViewerEvent"
OnExportReport="StiWebViewer1_OnExportReport"
CacheTimeout="3600"
RequestTimeout="1200"
AllowAutoUpdateCache="True"
ShowServerErrorPage="False"
ParametersPanelPosition="Top" ParametersPanelColumnsCount="2"
ShowFullScreenButton="False"
ShowFindButton="False"
ShowPrintButton="False"
ShowSaveButton="False"
ToolbarDisplayMode="Simple"
ShowAboutButton="False"
UseCompression="False"
CacheMode="StringCache"></cc1:StiWebViewer>

Re: Chart series - ShowNulls always true

Posted: Thu Sep 06, 2018 7:48 am
by Lech Kulikowski
Hello

Thank you for the information.
Please let us know if you need any additional help.

Thank you.

Re: Chart series - ShowNulls always true

Posted: Thu Sep 06, 2018 7:50 am
by vineet
Yes I do, the bug is happening as per my findings. If I don't use a custom cacheHelper and just set the CacheMode of the viewer to StringCache, "ShowNulls" is still being ignored.

Re: Chart series - ShowNulls always true

Posted: Sat Sep 08, 2018 9:00 am
by Lech Kulikowski
Hello,

That issue was fixed, will be available in the next release in September.

Thank you.

Re: Chart series - ShowNulls always true

Posted: Mon Sep 17, 2018 11:11 pm
by vineet
Hi Lech, When are you releasing the next version?

Re: Chart series - ShowNulls always true

Posted: Tue Sep 18, 2018 4:08 am
by Andrew
Hello,

We hope to release it in the end of September, hopefully next week.

Thank you.