Silverlight RadChart labels location issue

3 posts, 0 answers
  1. Alexey
    Alexey avatar
    4 posts
    Member since:
    Mar 2016

    Posted 21 Mar 2016 Link to this post


    I use RadChart to implement pie chart.

    Mostly it works perfect but sometimes it can't find an optimal way to locate labels (see the attached file, one label gets cut off).

    The SmartLabels mode is enable.

    Here is my code:

    <tcc:RadChart Grid.Row="1" x:Name="pieChart" Background="Transparent" BorderBrush="Transparent" UseDefaultLayout="False" >
                        <tch:AnimationSettings DefaultSeriesDelay="00:00:00" ItemAnimationDuration="00:00:00.25" ItemDelay="00:00:00"/>
                            <ColumnDefinition Width="3*" />
                            <ColumnDefinition Width="1*" />
                        <tch:ChartArea x:Name="chartArea" LegendName="chartLegend" SmartLabelsEnabled="True" Height="460" Margin="0" Padding="0" VerticalAlignment="Top" ItemClick="ChartArea_ItemClick"/>
                        <tch:ChartLegend x:Name="chartLegend" Grid.Column="1" Style="{StaticResource PieChartLegendStyle}" Height="460" Margin="0" Padding="0" VerticalAlignment="Top" LegendItemStyle="{StaticResource CustomChartLegendItemStyle}"/>

    Is there a way to solve this issue?

  2. Martin Ivanov
    Martin Ivanov avatar
    2423 posts

    Posted 22 Mar 2016 Link to this post

    Hello Alexey,

    Note that RadChart is our old charting component that has known issues and limitations. This is why the new RadChartView was created. RadChartView brings better implementation and improved performance. Also, it is easier to set up and quite flexible. You can read about the differences between the charts in the RadChart vs. RadChartView help article.

    You can try the RadChartView smart label feature which is demonstrated in the Pie Smart Labels demo.

    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. Alexey
    Alexey avatar
    4 posts
    Member since:
    Mar 2016

    Posted 23 Mar 2016 in reply to Martin Ivanov Link to this post

    Thanks Martin, I will try  RadChartView


Back to Top