Class VerticalSpan
- Namespace
- ScottPlot.Plottables
- Assembly
- ScottPlot.dll
A vertical span marks the full horizontal range between two vertical values
public class VerticalSpan : AxisSpan, IHasLine, IHasFill, IHasLegendText, IPlottable
- Inheritance
-
VerticalSpan
- Implements
- Inherited Members
- Extension Methods
Properties
Bottom
public double Bottom { get; set; }
Property Value
Top
public double Top { get; set; }
Property Value
Y1
public double Y1 { get; set; }
Property Value
Y2
public double Y2 { get; set; }
Property Value
YRange
public CoordinateRange YRange { get; }
Property Value
Methods
DragTo(AxisSpanUnderMouse, Coordinates)
public override void DragTo(AxisSpanUnderMouse spanUnderMouse, Coordinates mouseNow)
Parameters
spanUnderMouse
AxisSpanUnderMousemouseNow
Coordinates
GetAxisLimits()
Return the 2D area (in coordinate space) occupied by the data contained in this plottable
public override AxisLimits GetAxisLimits()
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
UnderMouse(CoordinateRect)
public override AxisSpanUnderMouse? UnderMouse(CoordinateRect rect)
Parameters
rect
CoordinateRect