Dotted line for empty[null] values

8 posts, 0 answers
  1. Sowjanya
    Sowjanya avatar
    8 posts
    Member since:
    May 2013

    Posted 15 Jul 2013 Link to this post

    Hi Team,
     We have purchased RadControls_for_Silverlight5_2013_1_0403_Dev.msi. We have a requirement, where if we have a null value in the collection.. we have to show a dotted line in Rad Chart line series, that looks like connecting points. Currently by default it is shown as a gap between point marks, which is so annoying.

    Please help me!
  2. Sowjanya
    Sowjanya avatar
    8 posts
    Member since:
    May 2013

    Posted 16 Jul 2013 Link to this post

    Can someone help me out with this... This is an important requirement user like to see...
  3. DevCraft banner
  4. Petar Kirov
    Admin
    Petar Kirov avatar
    425 posts

    Posted 17 Jul 2013 Link to this post

    Hi Sowjanya,

    RadChart provides three EmptyPoint Behaviors out-of-the-box. I have attached screenshots of the three modes.

    The closest functionality to what you require that is available out-of-the-box is Drop. If this is good enough for you, then you can enable it by setting *SeriesDefinition.EmptyPointBehavior to EmptyPointBehavior.Drop

    If you however require dotted line over empty points, then you use the workaround demonstrated in the attached project. It requires using a separate series for the dotted effect and a separate ItemsSource.

    I hope this helps.
     

    Regards,
    Petar Kirov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  5. Akbar Basha
    Akbar Basha avatar
    2 posts
    Member since:
    Oct 2015

    Posted 28 Oct 2015 in reply to Petar Kirov Link to this post

    Hi Team,

     i have checked Gap-default.png image which you attached..what's the pie and pyramid series for that same values

    Regards,

    Akbar Basha KM.

  6. Akbar Basha
    Akbar Basha avatar
    2 posts
    Member since:
    Oct 2015

    Posted 28 Oct 2015 Link to this post

    Can someone help me out with this... ASAP
  7. Martin
    Admin
    Martin avatar
    1099 posts

    Posted 02 Nov 2015 Link to this post

    Hello Akbar Basha,

    I am not sure that I understand you requirement. The Gap mode is applied for empty values which have sense in a Cartesian chart visualization. On the other side I am not sure how the empty value should be drawn as a gap in pie chart. The size of the slices depends on the data point's value and if there is not value nothing should be drawn. In RadChart's PieSeries definition the Gap mode is the same as the Drop mode - the empty data points are not drawn on the pie.

    Also, I want to note you that RadChart is out old charting component which has many known issues and limitations. Instead I recommend using the new RadChartView suite that has better implementation and improved performance. You can read about the differences between the charts in the RadChart vs. RadChartView help article. 

    Regards,
    Martin
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  8. Chintan
    Chintan avatar
    1 posts
    Member since:
    Jan 2016

    Posted 22 Jan in reply to Martin Link to this post

    Hi, I need to know how can i use the empty point behavior to drop for my line series in winform chartview

     

  9. Martin
    Admin
    Martin avatar
    1099 posts

    Posted 22 Jan Link to this post

    Hello Chintan,

    Note that this is the RadChartView for Silverlight section of the forum. Can you please post your question in the corresponding forum - UI for WinForms.

    Regards,
    Martin
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
Back to Top
DevCraft banner