PieSeries Graphic: Question about Texts

May 26, 2014 at 7:24 AM
Edited May 26, 2014 at 7:31 AM
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?
          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)
May 31, 2014 at 1:35 PM
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;