ig.excel.ChartGradientFill
Dependencies
-
ig.excel.ChartGradientFill
Constructor- new $.ig.excel.ChartGradientFill( gradientType:ig.excel.GradientType, stops:ig.IEnumerable`1, [angle:number] );
Creates a new ChartGradientFill instance.
- gradientType
- Type:ig.excel.GradientType
- A GradientType constant which defines the type of gradient, i.e., linear, circular, rectangular, etc.
- stops
- Type:ig.IEnumerable`1
- An enumerable list of GradientStop instances which define the location and color of each transition point in the gradient.
- angle
- Type:number
- Optional
- The angle defining the path along which the gradient extends; applies only to linear gradients. This parameter is optional and defaults to 0.
See Also
-
angle
- .angle( );
Returns the angle defining the path along which the gradient extends; applicable only for linear gradients.
Remarks
This property only applies to linear gradients.
This property defines the angle the gradient path makes with the horizontal plane.
For example, a gradient which extends from left to right can be changed to extend from bottom to top by setting this property to 90 degrees.
A value of 45 degrees yields a gradient which extends from the bottom left corner of the containing element to the top right corner.
-
chart
Inherited- .chart( );
- Return Type:
- ig.excel.WorksheetChart
- Return Type Description:
- Returns a WorksheetChart.
Returns the owning chart (read-only)
-
getStops
- .getStops( );
- Return Type:
- ig.IEnumerable`1
- Return Type Description:
- An array of GradientStop instances.
Returns an enumerable list containing each GradientStop associated with this gradient, ordered by their GradientStop.position.
-
gradientType
- .gradientType( );
- Return Type:
- ig.excel.GradientType
- Return Type Description:
- Returns a GradientType.
Defines the style for the gradient.
See Also
-
owner
Inherited- .owner( );
- Return Type:
- ig.excel.ChartObject
- Return Type Description:
- The owner or null if this object is owned directly by the Chart
returns this object's owner. (read-only)
-
sheet
Inherited- .sheet( );
- Return Type:
- ig.excel.Sheet
- Return Type Description:
- Returns a Sheet.
Gets the owning sheet (read-only)
See Also
-
workbook
Inherited- .workbook( );
- Return Type:
- ig.excel.Workbook
- Return Type Description:
- Returns a Workbook.
Gets the owning workbook (read-only)
See Also
-
worksheet
Inherited- .worksheet( );
- Return Type:
- ig.excel.Worksheet
- Return Type Description:
- Returns a Worksheet.
Gets the owning worksheet (read-only)
See Also