Class HorizontalLine
- Namespace
- ScottPlot.Plottables
- Assembly
- ScottPlot.dll
A line at a defined Y position that spans the entire horizontal space of the data area
public class HorizontalLine : AxisLine, IPlottable, IRenderLast, IHasLine, IHasLegendText
- Inheritance
-
HorizontalLine
- Implements
- Inherited Members
- Extension Methods
Constructors
HorizontalLine()
public HorizontalLine()
Properties
Maximum
public double Maximum { get; set; }
Property Value
Minimum
public double Minimum { get; set; }
Property Value
Y
public double Y { get; set; }
Property Value
Methods
GetAxisLimits()
Return the 2D area (in coordinate space) occupied by the data contained in this plottable
public override AxisLimits GetAxisLimits()
Returns
IsUnderMouse(CoordinateRect)
public override bool IsUnderMouse(CoordinateRect rect)
Parameters
rect
CoordinateRect
Returns
Render(RenderPack)
Draw the data from this plottable into the data area defined in the Axes. By default the surface is already clipped to the data area, but this can be cleared inside the plottable.
public override void Render(RenderPack rp)
Parameters
rp
RenderPack
RenderLast(RenderPack)
Plottables that implement this interface have a second render method that runs after the axes are drawn, allowing graphics to be placed on top of the axes.
public override void RenderLast(RenderPack rp)
Parameters
rp
RenderPack