ChartDirector 5.1 (PHP Edition)

ColorAxis.setAxisPos


Usage

setAxisPos(x, y, alignment)

Description

Sets the position of the color axis.

Arguments

ArgumentDefaultDescription
x(Mandatory)The x-coordinate of the reference point used to position the color axis.
y(Mandatory)The y-coordinate of the reference point used to position the color axis.
alignment(Mandatory)The alignment of the color axis with respect to the reference point. For example, a value of TopLeft means the reference point is the top- left corner of the color axis. See Alignment Specification for supported alignment types..

Return Value

None