Disable labels on data series

2 posts, 0 answers
  1. Rüdiger
    Rüdiger avatar
    6 posts
    Member since:
    Nov 2010

    Posted 29 Nov 2010 Link to this post

    Sorry, absolutely new.
    1. I can't find how to disable the labels on the data series. How do I show a data series without labels?

    2. Where can I find documentation about the object models used in charts, I can't find it. I think about typical MSDN-way of documenting the classes?

    Thanks for your help,
  2. Evgenia
    Evgenia avatar
    1437 posts

    Posted 01 Dec 2010 Link to this post

    Hi Rüdiger,

    1. To be able to hide DataSeries labels you should set LineSeriesDefinition.ShowItemLabels property to false like this:
    DataSeries lineSeries = new DataSeries();
    lineSeries.LegendLabel = "TEST";
    lineSeries.Definition = new LineSeriesDefinition();
    lineSeries.Definition.ShowItemLabels = false;

    2. We do provide such information. You can review the object models used in chart from our help topics. For example: http://www.telerik.com/help/silverlight/telerik.windows.controls.charting-telerik.windows.controls.charting.iseriesdefinition_properties.html

    Best wishes,
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
Back to Top