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

Straight dotted lines if data is not available

1 Answer 96 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Manoj
Top achievements
Rank 1
Manoj asked on 30 Jul 2012, 06:28 AM
Hi Telerik Team,

I am bounding the radchart with below datatable:

Date Series1 Series2
18/06/2012 8  
19/6/2012 24.5  
20/6/2012   15
21/6/2012 16.5 22
25/6/2012   24
26/6/2012   51
2/7/2012 9  
4/7/2012 20.92  


In series1 as well as series2, there is no any value between two dates, in case if there is only one gap then the chart is producing dotted straight lines for that date but if the gap is more than 1 then the dotted line is not straight, can we make the straight dotted line if there is a gap of more than 1 dates.

Please see the attached graph image for reference and provide the solution asap.

Thanks & Regards,
Manoj

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 31 Jul 2012, 12:32 PM
Hello Manoj,

Unfortunately we confirm this is a bug in the chart item. For the time being, the only workaround we can offer is hiding the line when you have null values. For this purpose you can set a transparent color for the EmptyLine i.e.:

myserie.Appearance.EmptyValue.Line.Color = Color.Transparent;

Kind regards,
Steve
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

Tags
General Discussions
Asked by
Manoj
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or