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

RadPolarChart labels dissapear after changing FlowDirection

1 Answer 37 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Mladen
Top achievements
Rank 1
Mladen asked on 06 Nov 2012, 10:53 AM
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>

1 Answer, 1 is accepted

Sort by
0
Petar Kirov
Telerik team
answered on 09 Nov 2012, 01:02 PM
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.

Tags
Chart
Asked by
Mladen
Top achievements
Rank 1
Answers by
Petar Kirov
Telerik team
Share this question
or