ChartDirector 5.1 (PHP Edition)
DrawArea.gradientColor
Usage
Description
Arguments
Argument | Default | Description |
---|---|---|
startX | (Mandatory) | The x coordinate of the starting point of the reference gradient line segment. |
startY | (Mandatory) | The y coordinate of the starting point of the reference gradient line segment. |
endX | (Mandatory) | The x coordinate of the ending point of the reference gradient line segment. |
endY | (Mandatory) | The y coordinate of the ending point of the reference gradient line segment. |
startColor | (Mandatory) | The color at the starting point of the reference gradient line segment. |
endColor | (Mandatory) | The color at the ending point of the reference gradient line segment. |
Return Value