Need Customization in RadChart

2 posts, 0 answers
  1. RakeshKumar
    RakeshKumar avatar
    3 posts
    Member since:
    Jun 2012

    Posted 20 Aug 2013 Link to this post

    Hi,

    I need the following changes to be applied for my chart.

    1. Display data item labels below the point marks in chart.
    2. Need to remove green color for Data item labels in chart.
    3. Display data item labels in vertical alignment as in desired chart(attachment).

    Please find my attachments. I need to make my existing chart look-a-like desired chart.
    I am using Q3 2011 version of telerik controls.


    Regards,
    Rakesh Kumar

  2. Peshito
    Admin
    Peshito avatar
    497 posts

    Posted 26 Aug 2013 Link to this post

    Hello,

    Thank you for contacting us. Please take a look at our online help topic demonstrating how to style the item labels.

    For instance you can set a style targeting your SeriesItemLabel like this:and then apply it like this:
    <Style TargetType="telerik:SeriesItemLabel" x:Key="SeriesItemLabelStyle">
                <Setter Property="FontSize" Value="8" />
                <Setter Property="Fill" Value="Red" />
                <Setter Property="Margin" Value="0, 10, 0, 0" />
                <Setter Property="RenderTransform">
                    <Setter.Value>
                        <RotateTransform Angle="-90"/>
                    </Setter.Value>
                </Setter>
            </Style>
    and then apply it to your SeriesDefinition.SeriesItemLabelStyle:
    firstSeriesMapping.SeriesDefinition.SeriesItemLabelStyle = Resources["SeriesItemLabelStyle"] as Style;

    Hope this helps. Should you have other questions, please do let me know.

    Regards,
    Peshito
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top