RadCartesianChart empty value's problem.

2 posts, 0 answers
  1. Ye HaoChen
    Ye HaoChen avatar
    27 posts
    Member since:
    Nov 2009

    Posted 18 Jan 2013 Link to this post

    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.
  2. Petar Marchev
    Admin
    Petar Marchev avatar
    968 posts

    Posted 22 Jan 2013 Link to this post

    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.

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top