SetSvgGradientOffset2 method: Chart class

Syntax

SetSvgGradientOffset2(Record_Name.Field_Name1,
...)

Description

Use the SetSvgGradientOffset2 method to set the second offset of the <stop> SVG element which indicates where the gradient color stop is placed. The gradient color is set via SetSvgGradientColor2 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 SetSvgGradientColor2 is not called to set the color or value is not provided in the data row for a specific data item. Value will be ignored if SetSvgGradientOffset1() is not called or no value is provided.

Note:

The SetSvgGradientOffset2 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.SetSvgGradientOffset2(QE_CHART_NP_REC.QE_CHART_OFFSET2_S);