PieSeries Graphic: Question about Texts
This discussion was imported from CodePlex
Auriou wrote at 2014-05-26 09:24:
I have two questions about a chart with a PieSeries:
- Is it possible to set a different color for the text inside the graph and one for the outside of a graph?
Example:
pieSeries.TextColor = OxyColors.Black; pieSeries.InnerTextColor = OxyColors.White; (New imagine property)
- Is it possible to reverse the texts of the graph have the percentage within the graph and labels outside
pieSeries.PercentagePlacementInside = true; (New imagine property)
Auriou wrote at 2014-05-31 15:35:
I found the solution to reverse the two text
pieSeries.OutsideLabelFormat = "{1}";
pieSeries.InsideLabelFormat = "{2:0} %";
I created a Fork to offer a solution to the text inside the Pie in another visible color pieSeries.TextColor = OxyColors.Blue;
pieSeries.InnerTextColor = OxyColors.White;
Служба підтримки клієнтів працює на UserEcho