Hiding Value Labels for dynamically generated series

Thread is closed for posting
4 posts, 0 answers
  1. Michael Epley
    Michael Epley avatar
    13 posts
    Member since:
    May 2010

    Posted 10 Sep 2010 Link to this post

    I am utilizing DataGroupColumn to dynamically create multiple series groupings based on my data. My line charts display properly, but  I can't figure out how to hide the Value labels for all the series.
    I see references to using
                -  Series[0].Appearance.ShowLabels = false.  But, since there are no explicit series created, this doesn't work. 

    I've attached an image to demonstrate the issue.
    thanks for the help.

    Also, I just tried the following in the ItemDatBound event, and it does not seem to affect the display at all (IE: the labels still show up)

                foreach (ChartSeries s in myChart.Series) {
                    s.Appearance.ShowLabels = false;
                    s.DefaultLabelValue = "";
  2. Evgenia
    Evgenia avatar
    1437 posts

    Posted 15 Sep 2010 Link to this post

    Hi Michael Epley,

    Thanks for contacting us. Why don't you try with turning off the LabelAppearance property of the chart series like this:
    chartSeries.Appearance.LabelAppearance.Visible = false; 

    You can do this for every dynamically generated series if you wire the DataBound event of RadChart. The series are already available, so you can modify them.

    Hope this helps.

    Best wishes,
    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. Myth
    Myth avatar
    54 posts
    Member since:
    Jan 2010

    Posted 02 Mar 2013 Link to this post

    How to do this in the stand alone report designer? When you don't have access to code-behind?

    Kind regards,
  4. Ves
    Ves avatar
    2914 posts

    Posted 06 Mar 2013 Link to this post

    Hi Stijn,

    If you create your ChartSeries and set their DataYColumn property, the chart will not create new series dynamically, but it will use the ones you have defined. This way you will be able to configure the labels visibility in the property grid.

    Alternatively, you can check our new Graph Report Item.

    Best regards,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top