-
Notifications
You must be signed in to change notification settings - Fork 981
Closed
Labels
Description
Fill visibility is not being respected
ScottPlot.Plot myPlot = new();
double[] values = { 5, 4, 5, 2, 3 };
ScottPlot.RadarSeries rs = new(values, ScottPlot.Colors.Blue);
ScottPlot.RadarSeries[] rsArray = [rs];
myPlot.Add.Radar(rsArray);
rs.Fill.IsVisible = false; // I'd expect this to work but it doesn't
rs.Fill.Color = ScottPlot.Colors.Transparent; // this hack works
myPlot.Axes.Frameless();
myPlot.Axes.Margins(0.5, 0.5);
myPlot.ShowLegend();
myPlot.HideGrid();
myPlot.SavePng("demo.png", 400, 300).LaunchInBrowser();| actual output | desired output |
|---|---|
![]() |
![]() |
I'm not sure why because this looks okay at first glance
ScottPlot/src/ScottPlot5/ScottPlot5/Plottables/Radar.cs
Lines 73 to 74 in 85fc347
| serie.Fill.ApplyToPaint(paint, rp.FigureRect); | |
| rp.Canvas.DrawPath(path, paint); |
Reactions are currently unavailable

