Skip to content

AxisRenderer

ClassChartGuruChartGuru
public class AxisRenderer

Renders axis lines, ticks, labels, and grid lines.

public AxisRenderer(ChartTheme theme = null)

No description is available for this member.

Parameters

Name Type Description
theme ChartGuru.ChartTheme

public void SetAxes(AxisConfig xAxis, AxisConfig yAxis)

No description is available for this member.

Parameters

Name Type Description
xAxis ChartGuru.AxisConfig
yAxis ChartGuru.AxisConfig
public void SetScales(Scale xScale, Scale yScale)

No description is available for this member.

Parameters

Name Type Description
xScale ChartGuru.Scale
yScale ChartGuru.Scale
public void SetPlotArea(Rect plotArea)

No description is available for this member.

Parameters

Name Type Description
plotArea UnityEngine.Rect
public void RenderGL()

Render axes using immediate mode GL.

public TickLabel[] GetXAxisTickLabels()

Get tick label positions for text rendering.

Returns

ChartGuru.TickLabel[] — No return description is available.

public TickLabel[] GetYAxisTickLabels()

Get tick label positions for text rendering.

Returns

ChartGuru.TickLabel[] — No return description is available.