SetSvgGradientOffset1 method: Chart class
Syntax
SetSvgGradientOffset1(Record_Name.Field_Name1,
...)
Description
Use the SetSvgGradientOffset1 method to set the first offset of the <stop> SVG element which indicates where the gradient color stop is placed. The gradient color is set via SetSvgGradientColor1 method. The field must be a string storing the numeric value in percentage for the gradient offset. No <stop> SVG element will be created for the data item if corresponding SetSvgGradientColor1 is not called to set the color or a value is not provided in the data row for a specific data item.
Note:
The SetSvgGradientOffset1 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 offset value for the data items for the chart. The record field must be defined as character data type field. Note: The number and order of fields specified must correspond to the order specified by the SetDataYAxis method. |
Returns
None.
Example
&Chart.SetSvgGradientOffset1(QE_CHART_NP_REC.QE_CHART_OFFSET1_S);