ig.excel.Axis

チャートの単一の軸を表します。

Remarks

目盛の色を変更するには ChartLineBase.fill プロパティを使用します。

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.
  • axisBetweenCategories

    .axisBetweenCategories( );

    True if the value axis crosses the category axis between categories.

  • axisBetweenCategories

    .axisBetweenCategories( value:boolean );

    True if the value axis crosses the category axis between categories.

    • value
    • Type:boolean
  • axisGroup

    .axisGroup( );

    Returns the group for the specified axis. Read-only

  • axisTitle

    .axisTitle( );

    Returns a ChartTitle object that represents the title of the axis.

  • axisTitle

    .axisTitle( value:ig.excel.ChartTitle );

    Sets a ChartTitle object that represents the title of the axis.

    • value
    • Type:ig.excel.ChartTitle
  • baseUnit

    .baseUnit( );

    Returns the base unit for the axis.

    Remarks

    Setting this property has no visible effect if the Axis.categoryType property for the specified axis is set to 'CategoryScale'. The set value is retained, however, and takes effect when the CategoryType property is set to 'TimeScale'.
  • baseUnit

    .baseUnit( value:ig.excel.TimeUnit );

    Sets the base unit for the axis.

    • value
    • Type:ig.excel.TimeUnit

    Remarks

    Setting this property has no visible effect if the Axis.categoryType property for the specified axis is set to 'CategoryScale'. The set value is retained, however, and takes effect when the CategoryType property is set to 'TimeScale'.
  • baseUnitIsAuto

    .baseUnitIsAuto( );

    True if Excel chooses appropriate base units for the specified category axis. The default value is True.

  • baseUnitIsAuto

    .baseUnitIsAuto( value:boolean );

    True if Excel chooses appropriate base units for the specified category axis. The default value is True.

    • value
    • Type:boolean
  • categoryType

    .categoryType( );

    Returns the category axis type.

    Remarks

    This property applies only to category axes.

    When set to Automatic, the axis will resolve the category type to either CategoryScale or TimeScale, based on the type of the selected data.

  • categoryType

    .categoryType( value:ig.excel.CategoryType );

    Sets the category axis type.

    • value
    • Type:ig.excel.CategoryType

    Remarks

    This property applies only to category axes.

    When set to Automatic, the axis will resolve the category type to either CategoryScale or TimeScale, based on the type of the selected data.

  • crosses

    .crosses( );

    Returns the point on the specified axis where the other axis crosses.

    Remarks

    This property is only applicable to a category axis.

    Set this property to Custom to specify a data value as a crossing point, using the Axis.crossesAt property to specify that value.

  • crosses

    .crosses( value:ig.excel.AxisCrosses );

    Sets the point on the specified axis where the other axis crosses.

    • value
    • Type:ig.excel.AxisCrosses

    Remarks

    This property is only applicable to a category axis.

    Set this property to Custom to specify a data value as a crossing point, using the Axis.crossesAt property to specify that value.

  • crossesAt

    .crossesAt( );

    Returns the point on the Axis at which the perpendicular axis intersects it.

    Remarks

    For a category axis, this value is interpreted as the value of a data point. For example, on a category axis with a minimum data value of 0 and a maximum of 500, setting this property to 250 causes this axis to appear near the center of the plot area.

    For a value axis, this value is interpreted as the one-based number of the category with which this axis should intersect.

    Setting this property causes the Axis.crosses property to change to 'Custom'.

    This property cannot be used on radar charts.

    For 3-D charts, this property indicates where the plane defined by the category axes crosses the value axis.

  • crossesAt

    .crossesAt( value:number );

    Sets the point on the Axis at which the perpendicular axis intersects it.

    • value
    • Type:number

    Remarks

    For a category axis, this value is interpreted as the value of a data point. For example, on a category axis with a minimum data value of 0 and a maximum of 500, setting this property to 250 causes this axis to appear near the center of the plot area.

    For a value axis, this value is interpreted as the one-based number of the category with which this axis should intersect.

    Setting this property causes the Axis.crosses property to change to 'Custom'.

    This property cannot be used on radar charts.

    For 3-D charts, this property indicates where the plane defined by the category axes crosses the value axis.

  • displayUnit

    .displayUnit( );

    Returns the unit label for the value axis.

  • displayUnit

    .displayUnit( value:ig.excel.DisplayUnit );

    Sets the unit label for the value axis.

    • value
    • Type:ig.excel.DisplayUnit
  • displayUnitCustom

    .displayUnitCustom( );

    If the value of the DisplayUnit property 'Custom' , the DisplayUnitCustom property returns or sets the value of the displayed units. The value must be from 0 through 10E307

  • displayUnitCustom

    .displayUnitCustom( value:number );

    If the value of the DisplayUnit property 'Custom' , the DisplayUnitCustom property returns or sets the value of the displayed units. The value must be from 0 through 10E307

    • value
    • Type:number
  • displayUnitLabel

    .displayUnitLabel( );

    Returns an Axis.displayUnitLabel object.

  • displayUnitLabel

    .displayUnitLabel( value:ig.excel.DisplayUnitLabel );

    Sets an Axis.displayUnitLabel object.

    • value
    • Type:ig.excel.DisplayUnitLabel
  • logBase

    .logBase( );

    Returns the base of the logarithm when you are using log scales.

    Remarks

    Attempting to set this property to a value less than 2 causes an error. The default value is 10.
  • logBase

    .logBase( value:number );

    Sets the base of the logarithm when you are using log scales.

    • value
    • Type:number

    Remarks

    Attempting to set this property to a value less than 2 causes an error. The default value is 10.
  • majorGridLines

    .majorGridLines( );

    Returns a ChartGridLines object which defines the color and weight of the major ticklines.

  • majorGridLines

    .majorGridLines( value:ig.excel.ChartGridLines );

    Returns a ChartGridLines object which defines the color and weight of the major ticklines.

    • value
    • Type:ig.excel.ChartGridLines
  • majorTickMark

    .majorTickMark( );

    Returns the type of major tick mark for the specified axis.

  • majorTickMark

    .majorTickMark( value:ig.excel.TickMark );

    Sets the type of major tick mark for the specified axis.

    • value
    • Type:ig.excel.TickMark
  • majorUnit

    .majorUnit( );

    Returns the major interval unit.

    Remarks

    To set the value of this property, use the Axis.setMajorMinorUnit method.

  • majorUnitIsAuto

    .majorUnitIsAuto( );

    True if Excel calculates the major units for the value axis.

  • majorUnitIsAuto

    .majorUnitIsAuto( value:boolean );

    True if Excel calculates the major units for the value axis.

    • value
    • Type:boolean
  • majorUnitScale

    .majorUnitScale( );

    Returns the major unit scale value for the category axis when the Axis.categoryType property is set to 'TimeScale'.

  • majorUnitScale

    .majorUnitScale( value:ig.excel.TimeUnit );

    Sets the major unit scale value for the category axis when the Axis.categoryType property is set to 'TimeScale'.

    • value
    • Type:ig.excel.TimeUnit
  • maximumScale

    .maximumScale( );

    Returns the maximum value on the value axis.

  • maximumScale

    .maximumScale( value:number );

    Sets the maximum value on the value axis.

    • value
    • Type:number
  • maximumScaleIsAuto

    .maximumScaleIsAuto( );

    True if Excel calculates the maximum value for the value axis.

  • maximumScaleIsAuto

    .maximumScaleIsAuto( value:boolean );

    True if Excel calculates the maximum value for the value axis.

    • value
    • Type:boolean
  • minimumScale

    .minimumScale( );

    Returns the minimum value on the value axis.

  • minimumScale

    .minimumScale( value:number );

    Sets the minimum value on the value axis.

    • value
    • Type:number
  • minimumScaleIsAuto

    .minimumScaleIsAuto( );

    True if Excel calculates the minimum value for the value axis.

  • minimumScaleIsAuto

    .minimumScaleIsAuto( value:boolean );

    True if Excel calculates the minimum value for the value axis.

    • value
    • Type:boolean
  • minorGridLines

    .minorGridLines( );

    Returns a ChartGridLines object which defines the color and weight of the minor ticklines.

  • minorGridLines

    .minorGridLines( value:ig.excel.ChartGridLines );

    Returns a ChartGridLines object which defines the color and weight of the minor ticklines.

    • value
    • Type:ig.excel.ChartGridLines
  • minorTickMark

    .minorTickMark( );

    Returns the type of minor tick mark for the specified axis.

  • minorTickMark

    .minorTickMark( value:ig.excel.TickMark );

    Sets the type of minor tick mark for the specified axis.

    • value
    • Type:ig.excel.TickMark
  • minorUnit

    .minorUnit( );

    Returns the minor interval unit.

    Remarks

    To set the value of this property, use the Axis.setMajorMinorUnit method.

  • minorUnitIsAuto

    .minorUnitIsAuto( );

    True if Excel calculates the minor units for the value axis.

  • minorUnitIsAuto

    .minorUnitIsAuto( value:boolean );

    True if Excel calculates the minor units for the value axis.

    • value
    • Type:boolean
  • minorUnitScale

    .minorUnitScale( );

    Returns the minor unit scale value for the category axis when the Axis.categoryType property is set to 'TimeScale'.

  • minorUnitScale

    .minorUnitScale( value:ig.excel.TimeUnit );

    Sets the minor unit scale value for the category axis when the Axis.categoryType property is set to 'TimeScale'.

    • value
    • Type:ig.excel.TimeUnit
  • position

    .position( );

    Returns an AxisPosition value which determines the placement of the axis as relative to the chart space.

    Remarks

    This property is not applicable for series axes.

    When set to Automatic, category axes resolve to Left, and value axes resolve to Bottom, unless a series axis is present, in which case these values are reversed.

  • position

    .position( value:ig.excel.AxisPosition );

    Sets an AxisPosition value which determines the placement of the axis as relative to the chart space.

    • value
    • Type:ig.excel.AxisPosition

    Remarks

    This property is not applicable for series axes.

    When set to Automatic, category axes resolve to Left, and value axes resolve to Bottom, unless a series axis is present, in which case these values are reversed.

  • reversePlotOrder

    .reversePlotOrder( );

    True if Excel plots data points from last to first.

  • reversePlotOrder

    .reversePlotOrder( value:boolean );

    True if Excel plots data points from last to first.

    • value
    • Type:boolean
  • scaleType

    .scaleType( );

    Returns the value axis scale type.

  • scaleType

    .scaleType( value:ig.excel.ScaleType );

    Sets the value axis scale type.

    • value
    • Type:ig.excel.ScaleType
  • setMajorMinorUnit

    .setMajorMinorUnit( majorUnit:number, minorUnit:number );

    Sets the values of the Axis.majorUnit and Axis.minorUnit properties.

    Remarks

    The value of the majorUnit parameter must exceed the value of the minorUnit parameter or an exception is thrown.

    Typically the value of majorUnit is an exact multiple of minorUnit; for example, for 5 minor units per major unit, set majorUnit to 1 and minorUnit to .2.

  • tickLabelPosition

    .tickLabelPosition( );

    Describes the position of tick-mark labels on the specified axis.

  • tickLabelPosition

    .tickLabelPosition( value:ig.excel.TickLabelPosition );

    Describes the position of tick-mark labels on the specified axis.

    • value
    • Type:ig.excel.TickLabelPosition
  • tickLabels

    .tickLabels( );

    Returns a TickLabels object that represents the tick-mark labels for the specified axis. Read-only.

  • tickLabelSpacing

    .tickLabelSpacing( );

    Returns the number of categories or series between tick-mark labels. Applies only to category and series axes. Can be a value from 1 through 31999.

  • tickLabelSpacing

    .tickLabelSpacing( value:number );

    Sets the number of categories or series between tick-mark labels. Applies only to category and series axes. Can be a value from 1 through 31999.

    • value
    • Type:number
  • tickLabelSpacingIsAuto

    .tickLabelSpacingIsAuto( );

    Returns whether or not the tick label spacing is automatic.

  • tickLabelSpacingIsAuto

    .tickLabelSpacingIsAuto( value:boolean );

    Sets whether or not the tick label spacing is automatic.

    • value
    • Type:boolean
  • tickLines

    .tickLines( );

    Determines the appearance of the tick lines.

  • tickLines

    .tickLines( value:ig.excel.ChartTickLines );

    Determines the appearance of the tick lines.

    • value
    • Type:ig.excel.ChartTickLines
  • tickMarkSpacing

    .tickMarkSpacing( );

    Returns the number of categories or series between tick marks. Applies only to category and series axes. Can be a value from 1 through 31999.

  • tickMarkSpacing

    .tickMarkSpacing( value:number );

    Sets the number of categories or series between tick marks. Applies only to category and series axes. Can be a value from 1 through 31999.

    • value
    • Type:number
  • type

    .type( );

    Returns the type of the axis (read-only)

  • visible

    .visible( );

    Returns whether or not the axis is visible.

  • visible

    .visible( value:boolean );

    Sets whether or not the axis is visible.

    • value
    • Type:boolean

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