This is a migrated thread and some comments may be shown as answers.
PointMark Problem
1 Answer 40 Views
This is a migrated thread and some comments may be shown as answers.
Oh Sangho
Top achievements
Rank 1
Oh Sangho asked on 22 Apr 2010, 02:29 AM

Sorry but I changed the content of this post, so please ignore the title. I can't modify it.


I use a DataTable for an input data to draw a line chart.
And there are some empty values.
I successed to draw with empty values, but the lines that go through empty values are shown as dotted lines.

I just want to show solid connected line between non-empty values.


For example,

Y = { 10, 12, empty, 15, empty 16, 20, empty }


I just want to show a solid line that connects through 10 - 12 --- 15 --- 16 -20.

How can I change the line type to solid when the source data has some empty values?


I have tried,

series.Appearance.EmptyValue.Line.Color = Color.Transparent;
or
series.Appearance.EmptyValue.Line.PenStyle = System.Drawing.Drawing2D.DashStyle.Solid;


But both of them shows no line between non-empty values.                   

Thank you.

Alex.

1 Answer, 1 is accepted

Sort by
0
Vladimir Milev
Telerik team
answered on 26 Apr 2010, 03:47 PM
Hi Oh Sangho,

You can change the appearance of the empty value series from this class. It can be accessed from ChartSeries.Appearance.EmptyValue.

Hope this helps.

Regards,
Vladimir Milev
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.
Asked by
Oh Sangho
Top achievements
Rank 1
Answers by
Vladimir Milev
Telerik team
Share this question
or