ig.excel.ChartGradientFill

Represents a gradient fill for a chart element.

Dependencies

jquery-1.4.4.js
infragistics.util.js
infragistics.ext_core.js
infragistics.ext_collections.js
infragistics.ext_collectionsExtended.js
infragistics.ext_io.js
infragistics.ext_text.js
infragistics.documents.core_core.js
infragistics.ext_ui.js
The current widget has no options.
The current widget has no events.
  • 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.
  • 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.

  • 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)

  • worksheet
    Inherited

    .worksheet( );
    Return Type:
    ig.excel.Worksheet
    Return Type Description:
    Returns a Worksheet.

    Gets the owning worksheet (read-only)

Copyright © 1996 - 2024 Infragistics, Inc. All rights reserved.