Chart appearance when data is not available

Stimulsoft Reports.NET discussion
Post Reply
User avatar
John
Posts: 132
Joined: Tue Feb 01, 2011 3:56 am
Location: England

Chart appearance when data is not available

Post by John »

Hallo Support,

I have a fairly simple chart as in the screenshot here. From a certain point onwards there is no data available. In my c# code for the data in the DataTable I set the value to DBNull.Value. I would then expect the chart to stop drawing when it reaches the final data point (here around €28) but it then draws the line down to zero. Is there a way to avoid this? I've attached a zip with the mrt and test data.

Thanks and best regards,

John Kitching
Attachments
1906.04_06_2012.zip
(4.77 KiB) Downloaded 150 times
1905.Screenshot.jpg
1905.Screenshot.jpg (56.79 KiB) Viewed 981 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Chart appearance when data is not available

Post by Alex K. »

Hello,

Please try to set the ShowNulls property to false for series.

Thank you.
Attachments
1909.Screen.png
1909.Screen.png (27.16 KiB) Viewed 971 times
User avatar
John
Posts: 132
Joined: Tue Feb 01, 2011 3:56 am
Location: England

Chart appearance when data is not available

Post by John »

That's great - I knew it would be something simple.

Thanks very much.

Regards,

John K.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Chart appearance when data is not available

Post by Alex K. »

Hello,

We are always glad to help you!
Let us know if you need any additional help.

Thank you.
Post Reply