ChartDirector Ver 3.1 (PHP Edition Edition)
BaseChart.gradientColor2
Usage
Description
Arguments
Argument | Default | Description |
---|---|---|
colorArray | (Mandatory) | An array defining the color points along the gradient line. See DrawArea.gradientColor2 for details. |
angle | 90 | The direction of the gradient line segment in degrees. The default direction is horizontal from left to right (90 degrees). |
scale | 1.0 | The scaling factor for the gradient line segment. By default, the gradient line segment is 256 pixels in length. The scaling factor can be use to stretch or compress the gradient line segment during drawing. |
startX | 0 | The x coordinate of the starting point of the gradient line segment. |
startY | 0 | The y coordinate of the starting point of the gradient line segment. |
Return Value