SetSvgGradientColor2 method: Chart class
Syntax
SetSvgGradientColor2(Record_Name.Field_Name1,
...)
Description
Use the SetSvgGradientColor2 method to assign the second color for the <stop> SVG element. The field must be a String storing a number or a constant that specifies the color you want to use. Value will be ignored if corresponding SetSvgGradientOffset2() is not called to set the offset or a value is not provided in the data row for a specific data item.
Note:
The SetSvgGradientColor2 method can be used for bar charts only.
Parameters
| Parameter | Description |
|---|---|
|
Record_Name.Field_Name1 |
Specify the name of the record and one or more fields on that record that contain the color value for the data items for the chart. Note: The number and order of fields specified must correspond to the order specified by the SetDataYAxis method. |
Returns
None.
Example
&Chart.SetSvgGradientColor2(QE_CHART_NP_REC.QE_CHART_GCOLOR2_S);