Class HorizontalAxis | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
The horizontal (x-axis) of a GraphView
public class HorizontalAxis : Axis
Inheritance
HorizontalAxis
Inherited Members
Constructors
Creates a new instance of axis with an Orientation of Horizontal
Methods
DrawAxisLabel(GraphView, int, string)
Draws the given text
on the axis at x screenPosition
. For the screen y position use GetAxisYPosition(GraphView)
Draws the horizontal x-axis labels and Increment ticks
Draws the horizontal axis line
DrawAxisLine(GraphView, int, int)
Draws a horizontal axis line at the given x
, y
screen coordinates
Returns the Y 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.