This question is locked. New answers and comments are not allowed.
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>
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>