Table of Contents

Class VerticalAxis

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

The vertical (i.e. Y axis) of a GraphView

public class VerticalAxis : Axis
Inheritance
VerticalAxis
Inherited Members

Constructors

VerticalAxis()

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)

DrawAxisLabels(GraphView)

Draws axis Increment markers and labels

DrawAxisLine(GraphView)

Draws the vertical axis line

DrawAxisLine(GraphView, int, int)

Draws a vertical axis line at the given x, y screen coordinates

GetAxisXPosition(GraphView)

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.