Skip to content

Ignore Axis line for AutoScale #4067

@andresod

Description

@andresod

Question: Is it possible to have horizontal axis line ignored by AutoScaleY ?

ScottPlot Version: 5.0.36

Version 4 provides a flag that allows the drawing of an horizontal axis line to be ignored by autoscale:

            var hline = WP.Plot.AddHorizontalLine(0, color: System.Drawing.Color.DimGray, width: 1, style: LineStyle.Solid);
            hline.IgnoreAxisAuto = true;
            WP.Plot.AxisAutoY();

V5 documentation does not mention anything like that for HorizontalLine. I checked the API and couldn't find anything obvious.

PS: performance improvement on V5 is amazing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions