Method DrawAxisLabel | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
DrawAxisLabel(GraphView, int, string)
Draws the given text
on the axis at y screenPosition
. For the screen x position use GetAxisXPosition(GraphView)
public override void DrawAxisLabel(GraphView graph, int screenPosition, string text)
Parameters
graph
GraphView
Graph being drawn onto
screenPosition
int
Number of rows from the top of the screen (i.e. down the axis) before rendering
text
string
Text to render to the left of the axis tick. Ensure to set MarginLeft orScrollOffset sufficient that it is visible