EmtyValuesMode.Zero

Thread is closed for posting
4 posts, 1 answers
  1. Mohamed
    Mohamed avatar
    8 posts
    Member since:
    Apr 2008

    Posted 08 May 2008 Link to this post

    Hello,

    I’m using VS 2008, framework 3.5, and RadChart for ASPNET AJAX Q1 2008.

    I’m binding the some data to the RadChart; one of the fields = NULL. I’m trying to disable the “Approximation”, i.e. set EmtyValuesMode.Zero through code behind.  How can I do that?

    Thanks,
    Moe

  2. Answer
    Ves
    Admin
    Ves avatar
    2926 posts

    Posted 09 May 2008 Link to this post

    Hello Mohamed,

    You can use the following line after RadChart is databound:

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

    You can repeat this for all series in the chart.

    Best wishes,
    Ves
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Mark
    Mark avatar
    2 posts
    Member since:
    Oct 2008

    Posted 01 Oct 2008 Link to this post

    Is it possible to set the EmptyValue mode so that when data values are null, nothing appears? 
  4. Mark
    Mark avatar
    2 posts
    Member since:
    Oct 2008

    Posted 01 Oct 2008 Link to this post

    Its OK,

    series1.Appearance.EmptyValue.Line.Color = System.Drawing.

    Color.Transparent;

    seems to work.

Back to Top