-
Notifications
You must be signed in to change notification settings - Fork 981
Closed
Description
Issue:
Hello! I am currently working on creating a heat map in Avalonia, with custom ticks on both the X and Y axes. It all works as expected, except for an issue where the axes appear to overflow into the padding of the plot. In the image below i expect the axes to stop drawing the tick labels at "test Y 61", but instead the ticks are extended to padding of the plot.
ScottPlot Version:
ScottPlot.Avalonia 5.0.21
Code Sample:
Both axes are generated like so:
AvaPlot avaPlot = new();
var heatMapPlot = new Heatmap(SampleData.MonaLisa());
avaPlot.Plot.Add.Plottable(heatMapPlot);
NumericManual ticksY = new();
for (var i = 0; i < 100; i++)
{
ticksY.AddMajor(i, $"test Y {i}");
}
avaPlot.Plot.Axes.Left.TickGenerator = ticksY;Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
