ig.excel.DataLabelPosition

Constants which define the location at which a DataLabel is positioned.

Remarks

Note that which constants in this enumeration are applicable is dependent on the chart type.

The following table lists the supported constants for each chart type.

Chart TypeSupported Constant(s)
3D charts (except pie/doughnut)Custom
Area, RadarCustom
SurfaceData labels are not supported
Bar/Column (stacked)Center, InsideEnd, InsideBase
Bar/Column (clustered)Center, InsideEnd, InsideBase, OutsideEnd
Line/Scatter/BubbleCenter, Left, Right, Above, Below
Pie/DoughnutCenter, InsideEnd, OutsideEnd, BestFit

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

    Type:
    ig.excel.DataLabelPosition
    Default:
    8

    The label is positioned above the associated data point.

  • below

    Type:
    ig.excel.DataLabelPosition
    Default:
    9

    The label is positioned below the associated data point.

  • bestFit

    Type:
    ig.excel.DataLabelPosition
    Default:
    10

    The label is positioned where it best fits with relation to the associated pie slice.

  • center

    Type:
    ig.excel.DataLabelPosition
    Default:
    1

    The label is centered with respect to the associated data point.

  • custom

    Type:
    ig.excel.DataLabelPosition
    Default:
    5

    The label's position is explicitly defined via the ChartTextAreaBase.left and ChartTextAreaBase.top properties.

  • default

    Type:
    ig.excel.DataLabelPosition
    Default:
    0

    The label position is not specified, and is determined automatically by Excel.

  • insideBase

    Type:
    ig.excel.DataLabelPosition
    Default:
    2

    The label's left edge coincides with the left edge of the series bar/line.

  • insideEnd

    Type:
    ig.excel.DataLabelPosition
    Default:
    3

    The label's right edge coincides with the right edge of the series bar/line.

  • left

    Type:
    ig.excel.DataLabelPosition
    Default:
    6

    The label is positioned to the left of the associated data point.

  • outsideEnd

    Type:
    ig.excel.DataLabelPosition
    Default:
    4

    The label's left edge coincides with the right edge of the series bar/line.

  • right

    Type:
    ig.excel.DataLabelPosition
    Default:
    7

    The label is positioned to the right of the associated data point.

The current widget has no events.
The current widget has no public methods.

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