SetSvgGradientColor1 method: Chart class
Syntax
SetSvgGradientColor1(Record_Name.Field_Name1,
...)
Description
Use the SetSvgGradientColor1 method to assign the first 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 SetSvgGradientOffset1() is not called to set the offset or a value is not provided in the data row for a specific data item.
Note:
The SetSvgGradientColor1 method can be used for bar charts only.
The String value of this field must be one of these values:
| Value | Description |
|---|---|
|
Blank |
Default series color. |
|
0 |
Black |
|
1 |
Blue |
|
2 |
Cyan |
|
3 |
Dark gray |
|
4 |
Gray |
|
5 |
Green |
|
6 |
Light gray |
|
7 |
Magenta |
|
8 |
Orange |
|
9 |
Pink |
|
10 |
Red |
|
11 |
White |
|
12 |
Yellow |
|
13 |
Red-orange |
|
14 |
Yellow-green |
|
15 |
Blue-violet |
|
16 |
Purple |
|
17 |
Yellow-orange |
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.SetSvgGradientColor1(QE_CHART_NP_REC.QE_CHART_GCOLOR1_S);