This is a migrated thread and some comments may be shown as answers.

How to not draw missing (0) values ?

1 Answer 41 Views
Chart
This is a migrated thread and some comments may be shown as answers.
scott
Top achievements
Rank 1
scott asked on 26 May 2011, 03:13 PM
I have a line chart with dates on the X and values on the Y.   In the picture shown the red line only has data starting at 3/17/2011.  Is there any way to draw the red line without the zero values and initial connection to the first real datapoint?   The same thing happens where there is no data at the end of the range at 5/26/2011.

Can I avoid these and just have the lines drawn and end at the first and last non zero values?

1 Answer, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 28 May 2011, 09:41 AM
Hello scott,

Take a look at our demo with source code. It demonstrates how to handle empty/null values. For more information refer to our help topic.

Greetings,
Evgenia
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Chart
Asked by
scott
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Share this question
or