ChartDirector 5.1 (PHP Edition)
BaseChart.radialGradientColor2
Usage
Description
Arguments
Argument | Default | Description |
---|---|---|
cx | (Mandatory) | The x coordinate of the center of the radial gradient. |
cy | (Mandatory) | The y coordinate of the center of the radial gradient. |
rx | (Mandatory) | The horizontal radius of the radial gradient defining ellipse. |
ry | (Mandatory) | The vertical radius of the radial gradient defining ellipse. |
colorArray | (Mandatory) | An array defining the radial distances and colors. |
periodic | false | Specifies whether the gradient will repeat itself periodically. If the gradient does not repeat itself, the points that lie outside the gradient defining ellipse will assume the color at the perimeter of the gradient defining ellipse. |
Return Value