In dashboard ,We have one pie chart and chart plots 4 slices(yellow , red , light blue , green) in that. Now suppose there is one factor calculated and that is 70% of the pie chart. Now user want to introduce one outline in pie chart which will only show 70% on chart as outline(blue line). In attached screen shot you can see four slice and now they want to introduce blue outline on it.
Solution applied :
1. Created another chart on same chart area but it is not working.
2. overwrite the bottom chart.Set the transparent styling but not working.
3. Try to add another series to chart but it append to same chart.
CS code :
XMAL code :
What are the other solution we can apply to achieve this functionality. Please help me in this scenario or let me know is there any workaround possible.
Solution applied :
1. Created another chart on same chart area but it is not working.
2. overwrite the bottom chart.Set the transparent styling but not working.
3. Try to add another series to chart but it append to same chart.
CS code :
private
void
BindPieChart(ObservableCollection<PieChart> pieChartData) {
PiechartTest.DefaultView.ChartLegend.Header = MainResource.PiechartCStoreHeader;
PiechartTest.DefaultView.ChartArea.NoDataString = MainResource.PiechartPropertyTypeNoDataMessage;
PiechartTest.ItemsSource = pieChartData;
}
XMAL code :
<
telerik:RadChart
x:Name
=
"PiechartTest"
Grid.Column
=
"0"
Grid.Row
=
"1"
ItemsSource
=
"{Binding}"
Style
=
"{StaticResource RadChartStyle1}"
>
<
telerik:RadChart.DefaultSeriesDefinition
>
<
telerik:PieSeriesDefinition
RadiusFactor
=
"0.7"
ShowItemToolTips
=
"True"
ItemLabelFormat
=
"#XCAT"
ShowItemLabels
=
"False"
LegendDisplayMode
=
"DataPointLabel"
LegendItemLabelFormat
=
"#XCAT"
>
<
telerik:PieSeriesDefinition.InteractivitySettings
>
<
telerik:InteractivitySettings
HoverScope
=
"Item"
/>
</
telerik:PieSeriesDefinition.InteractivitySettings
>
<
telerik:PieSeriesDefinition.LabelSettings
>
<
telerik:RadialLabelSettings
ShowConnectors
=
"True"
SpiderModeEnabled
=
"True"
Distance
=
"5"
/>
</
telerik:PieSeriesDefinition.LabelSettings
>
</
telerik:PieSeriesDefinition
>
</
telerik:RadChart.DefaultSeriesDefinition
>
<
telerik:RadChart.SeriesMappings
>
<
telerik:SeriesMapping
>
<
telerik:ItemMapping
DataPointMember
=
"XCategory"
FieldName
=
"PropertyType"
/>
<
telerik:ItemMapping
DataPointMember
=
"YValue"
FieldName
=
"Percentage"
/>
</
telerik:SeriesMapping
>
</
telerik:RadChart.SeriesMappings
>
</
telerik:RadChart
>
What are the other solution we can apply to achieve this functionality. Please help me in this scenario or let me know is there any workaround possible.