This is a migrated thread and some comments may be shown as answers.

Need Customization in RadChart

1 Answer 49 Views
Chart
This is a migrated thread and some comments may be shown as answers.
RakeshKumar
Top achievements
Rank 1
RakeshKumar asked on 20 Aug 2013, 05:55 PM
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

1 Answer, 1 is accepted

Sort by
0
Peshito
Telerik team
answered on 26 Aug 2013, 07:37 AM
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 >>
Tags
Chart
Asked by
RakeshKumar
Top achievements
Rank 1
Answers by
Peshito
Telerik team
Share this question
or