-
Notifications
You must be signed in to change notification settings - Fork 981
Closed
Labels
Good First IssueThis issue has limited complexity and may be a good start for new contributorsThis issue has limited complexity and may be a good start for new contributorsHelp WantedScott won't do this soon, but PRs from the community are welcome!Scott won't do this soon, but PRs from the community are welcome!
Description
Issue: the behavior of Bar.Label is weird when BarPlot.Horizontal is true. the position of value is wrong.
ScottPlot Version: 5.0.22
Code Sample:
using ScottPlot;
var plot = new Plot();
double[] values = { 1, 2, 3, 4, 5 };
var barPlot = plot.Add.Bars(values);
foreach (var bar in barPlot.Bars)
{
bar.Label = $"{bar.Value}";
}
plot.Save("vert.png", 500, 500);
barPlot.Horizontal = true;
plot.Save("hori.png", 500, 500);Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Good First IssueThis issue has limited complexity and may be a good start for new contributorsThis issue has limited complexity and may be a good start for new contributorsHelp WantedScott won't do this soon, but PRs from the community are welcome!Scott won't do this soon, but PRs from the community are welcome!

