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

RadCartesianChart empty value's problem.

1 Answer 241 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Ye HaoChen
Top achievements
Rank 1
Ye HaoChen asked on 18 Jan 2013, 06:45 AM
Hi,

I set 240 points in a RadCartesianChart, And then I changed some points' value.(Please watch pic1)
But I want to display like pic2.

Or you have a way to draw this only need a few pionts.

I need to use RadCartesianChart's behavior like this. So I can't use RadChart
<telerik:RadCartesianChart.Behaviors>
	<telerik:ChartTrackBallBehavior ShowIntersectionPoints="True" TrackInfoUpdated="ChartTrackBallBehavior_TrackInfoUpdated_1" />
</telerik:RadCartesianChart.Behaviors>

If RadCartesianChart has a property like this is better.
<telerik:RadChart>
 <telerik:RadChart.SeriesMappings>
 <telerik:SeriesMapping>
<telerik:SeriesMapping.SeriesDefinition>
<telerik:LineSeriesDefinition EmptyPointBehavior="Gap" />
</telerik:SeriesMapping.SeriesDefinition>
Sorry My English is not very well, If you can understand what I say, I would be very grateful.

Thanks.

1 Answer, 1 is accepted

Sort by
0
Petar Marchev
Telerik team
answered on 22 Jan 2013, 09:24 AM
Hello Ye,

When using empty values, you should get results such as in pic2. (see this example)

In pic1 it seems that some of the items are zeros, make sure that the values are null, because in ChartView empty values are items that have a value null (and not zero). I have attached a very simple project to give you a jump start.

Greetings,
Petar Marchev
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Chart
Asked by
Ye HaoChen
Top achievements
Rank 1
Answers by
Petar Marchev
Telerik team
Share this question
or