Label background in LineSeries

2 posts, 0 answers
  1. Christian
    Christian avatar
    52 posts
    Member since:
    Apr 2011

    Posted 14 Nov 2011 Link to this post

    Hi,

    I want to change the backgroundcolor for the labels in my lineseries to transparent. I already tried to set the background in
    telerik:LineSeriesDefinition:SeriesItemLabelStyle
    but without success.

    Can you please tell me how to solve this?
  2. Sia
    Admin
    Sia avatar
    667 posts

    Posted 16 Nov 2011 Link to this post

    Hi Christian,

    Please try to apply as SeriesItemLabelStyle the following style:
    <Style x:Key="CustomLabel" TargetType="telerikCharting:SeriesItemLabel">
        <Setter Property="Foreground" Value="Red" />
        <Setter Property="Fill" Value="Transparent" />
    </Style>

    Kind regards,
    Sia
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top