ChartDirector 5.1 (PHP Edition)

DrawArea.hline


Usage

hline(x1, x2, y, c)

Description

Draws a horizontal line.

Arguments

ArgumentDefaultDescription
x1(Mandatory)The x coordinate of the first end-point of the line.
x2(Mandatory)The x coordinate of the second end-point of the line.
y(Mandatory)The y coordinate of the line.
c(Mandatory)The color of the line.

Return Value

None