-
Notifications
You must be signed in to change notification settings - Fork 981
Closed
Description
Version: 5.0.21 : the legend location doesn't seem to apply to Pie charts.
List<PieSlice> slices = new()
{
new PieSlice() { Value = 5, FillColor = Colors.Red, Label = "Red" },
new PieSlice() { Value = 2, FillColor = Colors.Orange, Label = "Orange" },
new PieSlice() { Value = 8, FillColor = Colors.Gold, Label = "Yellow" },
new PieSlice() { Value = 4, FillColor = Colors.Green, Label = "Green" },
new PieSlice() { Value = 8, FillColor = Colors.Blue, Label = "Blue" },
};
var pie = myPlot.Add.Pie(slices);
pie.ExplodeFraction = .1;
myPlot.Legend.Location = Alignment.UpperCenter;
myPlot.ShowLegend();Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels