SetYAxisPosition

SetYAxisPosition — Move the Y axis

Synopsis

$plot->SetYAxisPosition($pos)
    

Description

SetYAxisPosition sets the position of the Y axis, which is normally at the left edge of the plot.

Parameters

$pos

The X position in world coordinates for the Y axis. (World coordinates are the coordinate space of your data points.)

Notes

The given position is truncated (towards 0) to an integer value.

Unless this function is used to move it, the Y axis is always drawn at the left of the graph.