Table of Contents

Method DrawAxisLabel

Namespace
Terminal.Gui
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 or ScrollOffset sufficient that it is visible