Hi,
I am trying to display a simple Pie chart. I have to display the Pie charts on a map on specific locations. For this I want to turn the background of chart area(i.e rectangular portion) off and display just the circular pie chart.
I have done this in XAML :
<Grid x:Name="LayoutRoot" Height="80" Width="80" VerticalAlignment="Center" HorizontalAlignment="Center" Background="White">
<telerik:RadChart x:Name="RadChart1" Height="80" Width="80" HorizontalAlignment="Center" telerikQuickStart:ThemeAwareBackgroundBehavior.IsEnabled="True"/>
</Grid>
And behind the code I have turned of Legend and Chart Title like this :
RadChart1.DefaultView.ChartTitle.Visibility = System.Windows.Visibility.Collapsed;
RadChart1.DefaultView.ChartLegend.Visibility = System.Windows.Visibility.Collapsed;
If I try to turn of the Chart Area in similar manner i.e :
RadChart1.DefaultView.ChartArea.Visibility = System.Windows.Visibility.Collapsed;
Now chart is not being shown, and if I don't turn it off then I get chart with rectangular boundaries.
How should I proceed? Any ideas would be greatly appreciated. It is kind of urgent need.
I am trying to display a simple Pie chart. I have to display the Pie charts on a map on specific locations. For this I want to turn the background of chart area(i.e rectangular portion) off and display just the circular pie chart.
I have done this in XAML :
<Grid x:Name="LayoutRoot" Height="80" Width="80" VerticalAlignment="Center" HorizontalAlignment="Center" Background="White">
<telerik:RadChart x:Name="RadChart1" Height="80" Width="80" HorizontalAlignment="Center" telerikQuickStart:ThemeAwareBackgroundBehavior.IsEnabled="True"/>
</Grid>
And behind the code I have turned of Legend and Chart Title like this :
RadChart1.DefaultView.ChartTitle.Visibility = System.Windows.Visibility.Collapsed;
RadChart1.DefaultView.ChartLegend.Visibility = System.Windows.Visibility.Collapsed;
If I try to turn of the Chart Area in similar manner i.e :
RadChart1.DefaultView.ChartArea.Visibility = System.Windows.Visibility.Collapsed;
Now chart is not being shown, and if I don't turn it off then I get chart with rectangular boundaries.
How should I proceed? Any ideas would be greatly appreciated. It is kind of urgent need.