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):
CacheViewer line uncommented (display is wrong):
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
Chart series - ShowNulls always true
Chart series - ShowNulls always true
- Attachments
-
- WebApplication1.zip
- (3.36 MiB) Downloaded 151 times
Re: Chart series - ShowNulls always true
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>
<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>
-
- Posts: 6243
- Joined: Tue Mar 20, 2018 5:34 am
Re: Chart series - ShowNulls always true
Hello
Thank you for the information.
Please let us know if you need any additional help.
Thank you.
Thank you for the information.
Please let us know if you need any additional help.
Thank you.
Re: Chart series - ShowNulls always true
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.
-
- Posts: 6243
- Joined: Tue Mar 20, 2018 5:34 am
Re: Chart series - ShowNulls always true
Hello,
That issue was fixed, will be available in the next release in September.
Thank you.
That issue was fixed, will be available in the next release in September.
Thank you.
Re: Chart series - ShowNulls always true
Hi Lech, When are you releasing the next version?
Re: Chart series - ShowNulls always true
Hello,
We hope to release it in the end of September, hopefully next week.
Thank you.
We hope to release it in the end of September, hopefully next week.
Thank you.