Class VerticalAxis | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
The vertical (i.e. Y axis) of a GraphView
public class VerticalAxis : Axis
Inheritance
VerticalAxis
Inherited Members
Constructors
Creates a new Vertical axis
Methods
DrawAxisLabel(GraphView, int, string)
Draws the given text
on the axis at y screenPosition
. For the screen x position use GetAxisXPosition(GraphView)
Draws axis Increment markers and labels
Draws the vertical axis line
DrawAxisLine(GraphView, int, int)
Draws a vertical axis line at the given x
, y
screen coordinates
Returns the X screen position of the origin (typically 0,0) of graph space. Return value is bounded by the screen i.e. the axis is always rendered even if the origin is offscreen.