SharpPlot Tutorials > Style Examples > Plain Pie chart or Tower

Plain Pie chart or Tower

Pie labels are drawn without spider tags, and tower charts have all three axes drawn with the PlainAxis style.


sp.PieChartStyle = PieChartStyles.ValueTags|PieChartStyles.Plain;
sp.SetXLabels(new string[] {"Fred","Joe","Harry"});
sp.ValueTagStyle = ValueTagStyles.Inside;
sp.SetValueFont("Arial",16,FontStyle.Bold,Color.Yellow);
sp.SetLabelFont("Arial",18,Color.Black);

sp.DrawPieChart(new int[] {7,5,3});

Send comments on this topic
© Dyalog Ltd 2021