RadPolarChart labels dissapear after changing FlowDirection

2 posts, 0 answers
  1. Mladen
    Mladen avatar
    27 posts
    Member since:
    Nov 2012

    Posted 06 Nov 2012 Link to this post

    Hi, I have the following problem - I'm using RadPolarChart and when i change the FlowDirection from LeftToRight to RightToLeft (both on control and NumericRadialAxis) , the control works as expected (The displayed series are reversed) except that all labels dissapear. Any change of the other properties of NumericRadialAxis like LabelOffset, LabelRotationAngle, LabelInterval or resizing the control in order to have more space does not help.

    Does anybody know what the reason for this might be??

    I'll  appreciate any help!! Thank you in advance!

    Best Regards,
    Mladen

    Here is XAML. Same works if flow direction is LeftToRight:

          <telerik:RadPolarChart StartAngle="90" Name="windChart" AllowDrop="True" Background="Transparent" FlowDirection="RightToLeft" >
                <telerik:RadPolarChart.Behaviors>
                    <telerik:ChartTooltipBehavior Placement="Top" HorizontalOffset="-2" VerticalOffset="1" />
                </telerik:RadPolarChart.Behaviors>
                
                <telerik:RadPolarChart.TooltipTemplate>
                    <DataTemplate>
                        <Grid>
                            <Path 
                                  Stretch="Fill" Fill="Blue" />
                            <TextBlock Text="{Binding ToolTip, StringFormat='AVG {0:N2}'}" Margin="4,3,4,9"
                                       Foreground="White" FontFamily="Segoe UI" />
                        </Grid>
                    </DataTemplate>
                </telerik:RadPolarChart.TooltipTemplate>
                
                <telerik:RadPolarChart.Grid>
                    <telerik:PolarChartGrid GridLineVisibility="Both"  Background="#FF451919"></telerik:PolarChartGrid>
                </telerik:RadPolarChart.Grid>
                
                <telerik:RadPolarChart.RadialAxis>
                    <telerik:NumericRadialAxis LineThickness="1" LabelInterval="1" FlowDirection="RightToLeft" LastLabelVisibility="Visible" LabelOffset="0" LabelRotationAngle="300" LineStroke="#FF5F5B5B"></telerik:NumericRadialAxis>
                </telerik:RadPolarChart.RadialAxis>
                <telerik:RadPolarChart.PolarAxis>
                    <telerik:PolarAxis Minimum="0" Maximum="200" FlowDirection="RightToLeft" LabelInterval="10" MajorStep="20" LabelStyle="{StaticResource PolarAxisLabelStyle}" />
                </telerik:RadPolarChart.PolarAxis>
     
                <telerik:RadarLineSeries Stroke="#EB7A2A">              
                    <telerik:RadarLineSeries.PointTemplate>
                        <DataTemplate>
                            <Ellipse Fill="#25A0DB" Height="7" Width="7" />
                        </DataTemplate>
                    </telerik:RadarLineSeries.PointTemplate>
                </telerik:RadarLineSeries>
            </telerik:RadPolarChart>
  2. Petar Kirov
    Admin
    Petar Kirov avatar
    425 posts

    Posted 09 Nov 2012 Link to this post

    Hi Mladen,

    We managed to reproduce the problem. Our preliminary tests indicate that the problem is specific to RadPolarChart, however we will further investigate.

    I have logged the bug in our Public Issue Tracker on this link. I have updated you Telerik points for pointing this issue to us.

    We are sorry for the inconvenience.

    Regards,
    Petar Kirov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
Back to Top