Hi Mahmut,
We have analyzed your requirements, please find the solution below.
Query 1: First, I am using Doughnutseries of chart like picture below. As you see the all chart titles overlap. So all title are not readin. How can i solve this problem.
You can resolve this overlap problem by setting EnableSmartLabels in PieSeries as per the below code snippet.
Code snippet
<chart:PieSeries ItemsSource="{Binding Data}"
XBindingPath="Expense"
YBindingPath="Value"
StartAngle="75"
EndAngle ="435"
EnableSmartLabels="True"
ConnectorLineType = "Bezier"
DataMarkerPosition = "OutsideExtended">
..
|
Query 2: Secondly, I want to do not change SelectedDataPointColor. namely whatever the color before select, should be same color after select.
You can achieve this requirement by raising SelectionChanging event in SfChart and set e.Cancel as true in args as per the below code snippet.
Code snippet
private void chart_SelectionChanging(object sender, ChartSelectionChangingEventArgs e)
{
e.Cancel = true;
} |
Please let us know if you have any other queries.
Regards,
Muneesh Kumar G