rendering bar char with bars not filled in

Thread is closed for posting
4 posts, 0 answers
  1. Bill
    Bill avatar
    85 posts
    Member since:
    Oct 2007

    Posted 21 Apr 2010 Link to this post

    I'm using 2010 1 309

    Some of  my bar charts are showing with the bars not filled in - just dashed lines around border.
    (See file)

    Anyone else seen this?
  2. Ves
    Admin
    Ves avatar
    2926 posts

    Posted 26 Apr 2010 Link to this post

    Hello Bill,

    This is actually the Empty Values feature of RadChart. If you have nulls (or DBNull) for certain positions RadChart can approximate their values. You can control the empty values appearance as shown in the above help topic. You can also disable them by setting the EmptyValue.Mode property to EmptyValuesMode.Zero:

    RadChart1.Series[0].Appearance.EmptyValue.Mode = Telerik.Charting.Styles.EmtyValuesMode.Zero;


    Best regards,
    Ves
    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.
  3. Bill
    Bill avatar
    85 posts
    Member since:
    Oct 2007

    Posted 09 Jun 2010 Link to this post

    This worked for a while then stopped when I went to the latest release.
    This code goes in the page load handler?

  4. Ves
    Admin
    Ves avatar
    2926 posts

    Posted 15 Jun 2010 Link to this post

    Hello Bill,

    We have not made any changes related this functionality. The line of code from my previous reply should be placed in your code after the chart series have been created. Note, that if you databind the chart, it creates new series. In this case you may wire the DataBound event and update the series there.

    Best regards,
    Ves
    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.
Back to Top