Page 1 of 1

Chart appearance when data is not available

Posted: Mon Jun 04, 2012 9:11 am
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

Chart appearance when data is not available

Posted: Tue Jun 05, 2012 5:55 am
by Alex K.
Hello,

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

Thank you.

Chart appearance when data is not available

Posted: Tue Jun 05, 2012 6:28 am
by John
That's great - I knew it would be something simple.

Thanks very much.

Regards,

John K.

Chart appearance when data is not available

Posted: Tue Jun 05, 2012 7:01 am
by Alex K.
Hello,

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

Thank you.