Represents the base class from which all axis types are derived.

The Axis is an array of axis objects.

<igx-data-chart
[dataSource]="data" >
<igx-category-x-axis
label="label"
#xAxis>
</igx-category-x-axis>
<igx-numeric-y-axis
#yAxis>
</igx-numeric-y-axis>
</igx-data-chart>

Hierarchy

Hierarchy

Implements

  • OnInit

Constructors

Properties

Accessors

Methods

Constructors

Properties

ngAcceptInputType_annotations: string | IgxAxisAnnotationCollection
ngAcceptInputType_enhancedIntervalMinimumCharacters: string | number
ngAcceptInputType_enhancedIntervalPreferMoreCategoryLabels: string | boolean
ngAcceptInputType_expectFunctions: string | boolean
ngAcceptInputType_isAngular: string | boolean
ngAcceptInputType_isCategory: string | boolean
ngAcceptInputType_isCategoryDateTime: string | boolean
ngAcceptInputType_isContinuous: string | boolean
ngAcceptInputType_isDateTime: string | boolean
ngAcceptInputType_isDisabled: string | boolean
ngAcceptInputType_isInverted: string | boolean
ngAcceptInputType_isNumeric: string | boolean
ngAcceptInputType_isOrdinal: string | boolean
ngAcceptInputType_isPiecewise: string | boolean
ngAcceptInputType_isRadial: string | boolean
ngAcceptInputType_isSorting: string | boolean
ngAcceptInputType_isVertical: string | boolean
ngAcceptInputType_labelAngle: string | number
ngAcceptInputType_labelBottomMargin: string | number
ngAcceptInputType_labelExtent: string | number
ngAcceptInputType_labelFormatSpecifiers: string | any[]
ngAcceptInputType_labelHorizontalAlignment: string | HorizontalAlignment
ngAcceptInputType_labelLeftMargin: string | number
ngAcceptInputType_labelLocation: string | AxisLabelsLocation
ngAcceptInputType_labelRightMargin: string | number
ngAcceptInputType_labelShowFirstLabel: string | boolean
ngAcceptInputType_labelTopMargin: string | number
ngAcceptInputType_labelVerticalAlignment: string | VerticalAlignment
ngAcceptInputType_labelVisibility: string | Visibility
ngAcceptInputType_majorStrokeDashArray: string | number[]
ngAcceptInputType_majorStrokeThickness: string | number
ngAcceptInputType_minorStrokeDashArray: string | number[]
ngAcceptInputType_minorStrokeThickness: string | number
ngAcceptInputType_shouldAvoidAnnotationCollisions: string | boolean
ngAcceptInputType_shouldKeepAnnotationsInView: string | boolean
ngAcceptInputType_strokeDashArray: string | number[]
ngAcceptInputType_strokeThickness: string | number
ngAcceptInputType_tickLength: string | number
ngAcceptInputType_tickStrokeDashArray: string | number[]
ngAcceptInputType_tickStrokeThickness: string | number
ngAcceptInputType_titleAngle: string | number
ngAcceptInputType_titleBottomMargin: string | number
ngAcceptInputType_titleExtent: string | number
ngAcceptInputType_titleHorizontalAlignment: string | HorizontalAlignment
ngAcceptInputType_titleLeftMargin: string | number
ngAcceptInputType_titleLocation: string | AxisLabelsLocation
ngAcceptInputType_titlePosition: string | AxisTitlePosition
ngAcceptInputType_titleRightMargin: string | number
ngAcceptInputType_titleShowFirstLabel: string | boolean
ngAcceptInputType_titleTopMargin: string | number
ngAcceptInputType_titleVerticalAlignment: string | VerticalAlignment
ngAcceptInputType_titleVisibility: string | Visibility
ngAcceptInputType_useEnhancedIntervalManagement: string | boolean
ngAcceptInputType_usePerLabelHeightMeasurement: string | boolean
ɵcmp: unknown
ɵfac: unknown

Accessors

  • get actualMajorStroke(): string
  • Gets or sets the ActualMajorStroke property.

    The ActualMajorStroke property is used for ActualMajorStroke of the axis.

    Returns string

  • set actualMajorStroke(v: string): void
  • Parameters

    • v: string

    Returns void

  • get actualMinorStroke(): string
  • Gets or sets the ActualMinorStroke property.

    The ActualMinorStroke property is used for ActualMinorStroke of the axis.

    Returns string

  • set actualMinorStroke(v: string): void
  • Parameters

    • v: string

    Returns void

  • get actualStroke(): string
  • Gets or sets the effective stroke used for the axis.

    Returns string

  • set actualStroke(v: string): void
  • Parameters

    • v: string

    Returns void

  • get axisInternal(): Axis
  • Returns Axis

  • get coercionMethods(): any
  • Gets or sets the coercion methods to use when loading data from data sources. Should be specified before setting any member paths, if being used. Setting it later will not cause data to be re-imported into the chart.

    The coercionMethods methods is to use when loading data from data sources. Should be specified before setting any member paths, if being used. Setting it later will not cause data to be reimported into the chart.

    Returns any

  • set coercionMethods(v: any): void
  • Parameters

    • v: any

    Returns void

  • get crossingAxis(): IgxAxisComponent
  • Gets or sets the CrossingAxis property.

    The CrossingAxis property is used for CrossingAxis .

    <igx-data-chart
    [dataSource]="data" >
    <igx-category-x-axis
    label="label"
    #xAxis>
    </igx-category-x-axis>
    <igx-numeric-y-axis
    crossingAxis= "xAxis"
    crossingValue= 700
    #yAxis>
    </igx-numeric-y-axis>
    </igx-data-chart>

    Returns IgxAxisComponent

  • set crossingAxis(v: IgxAxisComponent): void
  • Parameters

    Returns void

  • get crossingValue(): any
  • Gets or sets the CrossingValue property.

    The CrossingValue property is used for CrossingValue of the axis.

    <igx-data-chart
    [dataSource]="data" >
    <igx-category-x-axis
    label="label"
    #xAxis>
    </igx-category-x-axis>
    <igx-numeric-y-axis
    crossingAxis= "xAxis"
    crossingValue= 700
    #yAxis>
    </igx-numeric-y-axis>
    </igx-data-chart>

    Returns any

  • set crossingValue(v: any): void
  • Parameters

    • v: any

    Returns void

  • get enhancedIntervalMinimumCharacters(): number
  • Gets or sets the minimum desired characters to be displayed for horizontal axes when using advanced label heuristics. -1 will attempt to adjust the interval to precisely fit the horizontal labels.

    The EnhancedIntervalMinimumCharacters property is used to set the mininum desired characters to be displayed for horizontal axes when using advanced label heuristics.

    <igx-data-chart
    [dataSource]="data" >
    <igx-category-x-axis
    label="label"
    #xAxis>
    </igx-category-x-axis>
    <igx-numeric-y-axis
    enhancedIntervalMinimumCharacters=5
    #yAxis>
    </igx-numeric-y-axis>

    </igx-data-chart>

    Returns number

  • set enhancedIntervalMinimumCharacters(v: number): void
  • Parameters

    • v: number

    Returns void

  • get enhancedIntervalPreferMoreCategoryLabels(): boolean
  • Gets or sets whether the enhanced interval management should prefer to show all the labels if possible without collisions for supported types of category axes. This is for use with EnhancedIntervalMinimumCharacters = -1 and axes that have an integral interval.

    Returns boolean

  • set enhancedIntervalPreferMoreCategoryLabels(v: boolean): void
  • Parameters

    • v: boolean

    Returns void

  • get expectFunctions(): boolean
  • Gets or sets whether the series should expect that properties in its items source may be functions that need to be evaluated to yield their value. This defaults to false, as there will be a subtle performance impact to using this feature. This value must be set before assigning an item's source to take effect.

    Returns boolean

  • set expectFunctions(v: boolean): void
  • Parameters

    • v: boolean

    Returns void

  • get formatLabel(): ((item: any) => string)
  • Sets or gets a function which takes an object that produces a formatted label for displaying in the chart.

    The FormatLabel function takes an object that produces a formatted label for displaying in the chart.

    <igx-data-chart [dataSource]="data" >
    <igx-category-x-axis
    name="xAxis"
    FormatLabel="xAxis_FormatLabel" />
    </igx-data-chart>

    Returns ((item: any) => string)

      • (item: any): string
      • Sets or gets a function which takes an object that produces a formatted label for displaying in the chart.

        The FormatLabel function takes an object that produces a formatted label for displaying in the chart.

        <igx-data-chart [dataSource]="data" >
        <igx-category-x-axis
        name="xAxis"
        FormatLabel="xAxis_FormatLabel" />
        </igx-data-chart>

        Parameters

        • item: any

        Returns string

  • set formatLabel(v: ((item: any) => string)): void
  • Parameters

    • v: ((item: any) => string)
        • (item: any): string
        • Parameters

          • item: any

          Returns string

    Returns void

  • get i(): Axis
  • Returns Axis

  • get isAngular(): boolean
  • Gets if the current axis is of angular axis type

    Returns boolean

  • get isCategory(): boolean
  • Gets or sets if the current axis is of category axis type

    Returns boolean

  • get isCategoryDateTime(): boolean
  • Gets if the current axis is of category date time axis type

    Returns boolean

  • get isContinuous(): boolean
  • Gets if the current axis is a continuous rather than a discrete scale

    Returns boolean

  • get isDateTime(): boolean
  • Gets or sets if the current axis is of date time axis type

    Returns boolean

  • get isDisabled(): boolean
  • Gets or sets the IsDisabled property. If true, the axis will not be rendered.

    The IsDisabled property is used to decide if the axis will not be rendered.

    Returns boolean

  • set isDisabled(v: boolean): void
  • Parameters

    • v: boolean

    Returns void

  • get isInverted(): boolean
  • Gets or sets the IsInverted property.

    Gets or sets the IsInverted property.

    <igx-data-chart
    [dataSource]="data" >
    <igx-category-x-axis
    label="label"
    isInverted= true
    #xAxis>
    </igx-category-x-axis>
    <igx-numeric-y-axis
    #yAxis>
    </igx-numeric-y-axis>

    </igx-data-chart>

    Returns boolean

  • set isInverted(v: boolean): void
  • Parameters

    • v: boolean

    Returns void

  • get isNumeric(): boolean
  • Gets or sets if the current axis is of numeric axis type

    Gets or sets if the current axis is of numeric axis type
    

    Returns boolean

  • get isOrdinal(): boolean
  • Gets or sets if the current axis is of ordinal axis type

    Returns boolean

  • get isPiecewise(): boolean
  • Gets or sets if the axis is a piecewise scaling function.

    Returns boolean

  • get isRadial(): boolean
  • Gets or sets if the current axis is of radial axis type

    Returns boolean

  • get isSorting(): boolean
  • Gets or sets if the current axis is sorting data items

    Returns boolean

  • get isVertical(): boolean
  • Gets if the current axis is a vertical axis.

    Returns boolean

  • get label(): any
  • Gets or sets the axis label format string.

    The Label property is used for label mapping of the axis labels.

    Returns any

  • set label(v: any): void
  • Parameters

    • v: any

    Returns void

  • get labelAngle(): number
  • Gets or sets the angle of the {0}.

    The Angle property is used to set the angle of the axis.

    Returns number

  • set labelAngle(v: number): void
  • Parameters

    • v: number

    Returns void

  • get labelBottomMargin(): number
  • Margin applied below the {0}.

    The labelBottomMargin is used to set the bottom margin of the labels.

    Returns number

  • set labelBottomMargin(v: number): void
  • Parameters

    • v: number

    Returns void

  • get labelExtent(): number
  • Distance between the axis and the edge of the control.

    The Extent property is used for the extent.

    Returns number

  • set labelExtent(v: number): void
  • Parameters

    • v: number

    Returns void

  • get labelFormat(): string
  • Gets or sets the label format string to use for the label.

    Returns string

  • set labelFormat(v: string): void
  • Parameters

    • v: string

    Returns void

  • get labelFormatSpecifiers(): any[]
  • Gets or sets the format specifiers to use with the LabelFormat string.

    Returns any[]

  • set labelFormatSpecifiers(v: any[]): void
  • Parameters

    • v: any[]

    Returns void

  • get labelHorizontalAlignment(): HorizontalAlignment
  • Gets or sets the horizontal alignment of the {0}.

    The HorizontalAlignment property is used for the horizontal alignment.

    Returns HorizontalAlignment

  • set labelHorizontalAlignment(v: HorizontalAlignment): void
  • Parameters

    Returns void

  • get labelLeftMargin(): number
  • Margin applied to the left of the {0}.

    The labelLeftMargin property is used for the left margin of the labels.

    Returns number

  • set labelLeftMargin(v: number): void
  • Parameters

    • v: number

    Returns void

  • get labelLocation(): AxisLabelsLocation
  • Gets or sets the location of the {0}.

    The Location property is used for the location.

    Returns AxisLabelsLocation

  • set labelLocation(v: AxisLabelsLocation): void
  • Parameters

    Returns void

  • get labelRightMargin(): number
  • Margin applied to the right of the {0}.

    The labelRightMargin property is used for the right margin of the labels.

    Returns number

  • set labelRightMargin(v: number): void
  • Parameters

    • v: number

    Returns void

  • get labelShowFirstLabel(): boolean
  • Gets or sets whether the first label is displayed when the zoom level is set to 1.

    The ShowFirstLabel is used to check whether the first label is displayed when the zoom level is set to 1.

    Returns boolean

  • set labelShowFirstLabel(v: boolean): void
  • Parameters

    • v: boolean

    Returns void

  • get labelTextColor(): string
  • The color of the {0}.

    The labelTextColor property Overrides the color of the text used for the axis labels.

    Returns string

  • set labelTextColor(v: string): void
  • Parameters

    • v: string

    Returns void

  • get labelTextStyle(): string
  • Gets or sets the text style to use for axis labels.

    The labelTextStyle property Overrides the style of the text used for the axis labels.

    Returns string

  • set labelTextStyle(v: string): void
  • Parameters

    • v: string

    Returns void

  • get labelTopMargin(): number
  • Margin applied above the {0}.

    The labelTopMargin property is used for the top margin of the labels.

    Returns number

  • set labelTopMargin(v: number): void
  • Parameters

    • v: number

    Returns void

  • get labelVerticalAlignment(): VerticalAlignment
  • Gets or sets the vertical alignment of the {0}.

    The VerticalAlignment property is used for the vertical alignment of the axis.

    Returns VerticalAlignment

  • set labelVerticalAlignment(v: VerticalAlignment): void
  • Parameters

    Returns void

  • get labelVisibility(): Visibility
  • Gets or sets the visibility of the {0}.

    The Visibility property is used for the visibility of the axis.

    Returns Visibility

  • set labelVisibility(v: Visibility): void
  • Parameters

    Returns void

  • get majorStroke(): string
  • Gets or sets the MajorStroke property. Null is treated as auto. Major lines will be displayed or not based on the axis type and series used with it.

    Gets or sets the MajorStroke using this property.

    <igx-data-chart
    [dataSource]="data" >
    <igx-category-x-axis
    label="label"
    #xAxis>
    </igx-category-x-axis>
    <igx-numeric-y-axis
    majorStroke="black"
    #yAxis>
    </igx-numeric-y-axis>
    </igx-data-chart>

    Returns string

  • set majorStroke(v: string): void
  • Parameters

    • v: string

    Returns void

  • get majorStrokeDashArray(): number[]
  • Gets or sets the MajorStrokeDashArray property.

    Returns number[]

  • set majorStrokeDashArray(v: number[]): void
  • Parameters

    • v: number[]

    Returns void

  • get majorStrokeThickness(): number
  • Gets or sets the MajorStrokeThickness property.

    Gets or sets the MajorStrokeThickness using this property.

    <igx-data-chart
    [dataSource]="data" >
    <igx-category-x-axis
    label="label"
    #xAxis>
    </igx-category-x-axis>
    <igx-numeric-y-axis
    majorStrokeThickness="1"
    #yAxis>
    </igx-numeric-y-axis>
    </igx-data-chart>

    Returns number

  • set majorStrokeThickness(v: number): void
  • Parameters

    • v: number

    Returns void

  • get minorStroke(): string
  • Gets or sets the MinorStroke property.

    Gets or sets the minorStroke thickness using MinorStrokeThickness property.

    <igx-data-chart
    [dataSource]="data" >
    <igx-category-x-axis
    label="label"
    #xAxis>
    </igx-category-x-axis>
    <igx-numeric-y-axis
    minorStrokeThickness="1"
    #yAxis>
    </igx-numeric-y-axis>
    </igx-data-chart>

    Returns string

  • set minorStroke(v: string): void
  • Parameters

    • v: string

    Returns void

  • get minorStrokeDashArray(): number[]
  • Gets or sets the MinorStrokeDashArray property.

    Returns number[]

  • set minorStrokeDashArray(v: number[]): void
  • Parameters

    • v: number[]

    Returns void

  • get minorStrokeThickness(): number
  • Gets or sets the MinorStrokeThickness property.

    Returns number

  • set minorStrokeThickness(v: number): void
  • Parameters

    • v: number

    Returns void

  • get name(): string
  • Returns string

  • set name(value: string): void
  • Parameters

    • value: string

    Returns void

  • get rangeChanged(): EventEmitter<{
        args: IgxAxisRangeChangedEventArgs;
        sender: any;
    }>
  • Occurs when the axis range changes.

    Returns EventEmitter<{
        args: IgxAxisRangeChangedEventArgs;
        sender: any;
    }>

  • get renderRequested(): EventEmitter<{
        args: IgxRenderRequestedEventArgs;
        sender: any;
    }>
  • This event is raised every time a render has been requested from a series.

    Returns EventEmitter<{
        args: IgxRenderRequestedEventArgs;
        sender: any;
    }>

  • get shouldAvoidAnnotationCollisions(): boolean
  • Gets or sets whether annotations should be shifted to avoid collision, even if this would result in them appearing where they shouldn't be along the scale.

    Returns boolean

  • set shouldAvoidAnnotationCollisions(v: boolean): void
  • Parameters

    • v: boolean

    Returns void

  • get shouldKeepAnnotationsInView(): boolean
  • ets or sets whether annotations should be kept in view, even if they aren't positioned where they should appear on the scale.

    Returns boolean

  • set shouldKeepAnnotationsInView(v: boolean): void
  • Parameters

    • v: boolean

    Returns void

  • get strip(): string
  • Gets or sets the Strip property.

    Use Strip property to set the strip of the chart.

    <igx-data-chart
    [dataSource]="data" >
    <igx-category-x-axis
    label="label"
    strip= "grey"
    #xAxis>
    </igx-category-x-axis>
    <igx-numeric-y-axis
    #yAxis>
    </igx-numeric-y-axis>

    </igx-data-chart>

    Returns string

  • set strip(v: string): void
  • Parameters

    • v: string

    Returns void

  • get stroke(): string
  • Gets or sets the Stroke property. Null is treated as auto. The axis stroke will be displayed or not based on the axis type and series used with it.

    Use Stroke property to set the stroke of the chart.

    <igx-data-chart
    [dataSource]="data" >
    <igx-category-x-axis
    label="label"
    stroke="blue"
    #xAxis>
    </igx-category-x-axis>
    <igx-numeric-y-axis
    #yAxis>
    </igx-numeric-y-axis>
    </igx-data-chart>

    Returns string

  • set stroke(v: string): void
  • Parameters

    • v: string

    Returns void

  • get strokeDashArray(): number[]
  • Gets or sets the StrokeDashArray property.

    Returns number[]

  • set strokeDashArray(v: number[]): void
  • Parameters

    • v: number[]

    Returns void

  • get strokeThickness(): number
  • Gets or sets the StrokeThickness property.

    Use StrokeThickness property for the thickness of the stroke.

    <igx-data-chart
    [dataSource]="data" >
    <igx-category-x-axis
    label="label"
    strokeThickness= 5
    #xAxis>
    </igx-category-x-axis>
    <igx-numeric-y-axis
    #yAxis>
    </igx-numeric-y-axis>

    </igx-data-chart>

    Returns number

  • set strokeThickness(v: number): void
  • Parameters

    • v: number

    Returns void

  • get tickLength(): number
  • Gets or sets the TickLength property.

    Use TickLength property for The length of the tickmarks to display for this axis.

    <igx-data-chart
    [dataSource]="data" >
    <igx-category-x-axis
    label="label"
    tickLength="5"
    #xAxis>
    </igx-category-x-axis>
    <igx-numeric-y-axis
    #yAxis>
    </igx-numeric-y-axis>

    </igx-data-chart>

    Returns number

  • set tickLength(v: number): void
  • Parameters

    • v: number

    Returns void

  • get tickStroke(): string
  • Gets or sets the TickStroke property.

    Use TickStroke property for the color of the tickmarks.

    <igx-data-chart
    [dataSource]="data" >
    <igx-category-x-axis
    label="label"
    tickStroke="black"
    #xAxis>
    </igx-category-x-axis>
    <igx-numeric-y-axis
    #yAxis>
    </igx-numeric-y-axis>
    </igx-data-chart>

    Returns string

  • set tickStroke(v: string): void
  • Parameters

    • v: string

    Returns void

  • get tickStrokeDashArray(): number[]
  • Gets or sets the TickStrokeDashArray property.

    Returns number[]

  • set tickStrokeDashArray(v: number[]): void
  • Parameters

    • v: number[]

    Returns void

  • get tickStrokeThickness(): number
  • Gets or sets the TickStrokeThickness property.

    Use TickStrokeThickness property for thickness of the stroke tickmarks.

    <igx-data-chart
    [dataSource]="data" >
    <igx-category-x-axis
    label="label"
    tickStrokeThicknes="2"
    #xAxis>
    </igx-category-x-axis>
    <igx-numeric-y-axis
    #yAxis>
    </igx-numeric-y-axis>

    </igx-data-chart>

    Returns number

  • set tickStrokeThickness(v: number): void
  • Parameters

    • v: number

    Returns void

  • get title(): string
  • Gets or sets the Title property.

    Use Title property to display the title of the component.

    <igx-data-chart
    [dataSource]="data" >
    <igx-category-x-axis
    label="label"
    #xAxis>
    </igx-category-x-axis>
    <igx-numeric-y-axis
    #yAxis>
    </igx-numeric-y-axis>

    </igx-data-chart>

    Returns string

  • set title(v: string): void
  • Parameters

    • v: string

    Returns void

  • get titleAngle(): number
  • Gets or sets the angle of the {0}.

    The Angle property is used to set the angle of the axis.

    Returns number

  • set titleAngle(v: number): void
  • Parameters

    • v: number

    Returns void

  • get titleBottomMargin(): number
  • Margin applied below the {0}.

    The labelBottomMargin is used to set the bottom margin of the labels.

    Returns number

  • set titleBottomMargin(v: number): void
  • Parameters

    • v: number

    Returns void

  • get titleExtent(): number
  • Distance between the axis and the edge of the control.

    The Extent property is used for the extent.

    Returns number

  • set titleExtent(v: number): void
  • Parameters

    • v: number

    Returns void

  • get titleHorizontalAlignment(): HorizontalAlignment
  • Gets or sets the horizontal alignment of the {0}.

    The HorizontalAlignment property is used for the horizontal alignment.

    Returns HorizontalAlignment

  • set titleHorizontalAlignment(v: HorizontalAlignment): void
  • Parameters

    Returns void

  • get titleLeftMargin(): number
  • Margin applied to the left of the {0}.

    The labelLeftMargin property is used for the left margin of the labels.

    Returns number

  • set titleLeftMargin(v: number): void
  • Parameters

    • v: number

    Returns void

  • get titleLocation(): AxisLabelsLocation
  • Gets or sets the location of the {0}.

    The Location property is used for the location.

    Returns AxisLabelsLocation

  • set titleLocation(v: AxisLabelsLocation): void
  • Parameters

    Returns void

  • get titlePosition(): AxisTitlePosition
  • Gets or sets the title position relative to the axis labels.

    Returns AxisTitlePosition

  • set titlePosition(v: AxisTitlePosition): void
  • Parameters

    Returns void

  • get titleRightMargin(): number
  • Margin applied to the right of the {0}.

    The labelRightMargin property is used for the right margin of the labels.

    Returns number

  • set titleRightMargin(v: number): void
  • Parameters

    • v: number

    Returns void

  • get titleShowFirstLabel(): boolean
  • Gets or sets whether the first label is displayed when the zoom level is set to 1.

    The ShowFirstLabel is used to check whether the first label is displayed when the zoom level is set to 1.

    Returns boolean

  • set titleShowFirstLabel(v: boolean): void
  • Parameters

    • v: boolean

    Returns void

  • get titleTextColor(): string
  • The color of the {0}.

    The labelTextColor property Overrides the color of the text used for the axis labels.

    Returns string

  • set titleTextColor(v: string): void
  • Parameters

    • v: string

    Returns void

  • get titleTextStyle(): string
  • Gets or sets the text style to use for axis labels.

    The labelTextStyle property Overrides the style of the text used for the axis labels.

    Returns string

  • set titleTextStyle(v: string): void
  • Parameters

    • v: string

    Returns void

  • get titleTopMargin(): number
  • Margin applied above the {0}.

    The labelTopMargin property is used for the top margin of the labels.

    Returns number

  • set titleTopMargin(v: number): void
  • Parameters

    • v: number

    Returns void

  • get titleVerticalAlignment(): VerticalAlignment
  • Gets or sets the vertical alignment of the {0}.

    The VerticalAlignment property is used for the vertical alignment of the axis.

    Returns VerticalAlignment

  • set titleVerticalAlignment(v: VerticalAlignment): void
  • Parameters

    Returns void

  • get titleVisibility(): Visibility
  • Gets or sets the visibility of the {0}.

    The Visibility property is used for the visibility of the axis.

    Returns Visibility

  • set titleVisibility(v: Visibility): void
  • Parameters

    Returns void

  • get useEnhancedIntervalManagement(): boolean
  • Gets or sets whether to use more advanced heuristics when determining the initial number of labels to render, before resolving collisions, etc.

    Use UseEnhancedIntervalManagement property to gets/sets whether to use more advanced heuristics when determining the initial number of labels to render, before resolving collisions, etc.

    Returns boolean

  • set useEnhancedIntervalManagement(v: boolean): void
  • Parameters

    • v: boolean

    Returns void

  • get usePerLabelHeightMeasurement(): boolean
  • Gets or sets whether to use label height measurement when determining the initial number of labels to render, before resolving collisions, etc.

    Returns boolean

  • set usePerLabelHeightMeasurement(v: boolean): void
  • Parameters

    • v: boolean

    Returns void

Methods

  • Returns void

  • Returns void

  • Parameters

    • name: string

    Returns any

  • Parameters

    • item: any
    • memberPathName: string

    Returns any

  • Gets the label for a data item.

    Parameters

    • value: number
      • The unscaled value to get a label for.

    Returns string

  • Returns void

  • Parameters

    • data: any

    Returns void

  • Renders the axis with no animation.

    Returns void

  • If using enhanced interval management and precise interval fitting, this will reset the cached maximum label width, and recalculate using the current labels.

    Returns void

  • Scales a value from axis space into screen space.

    Parameters

    • unscaledValue: number
      • The unscaled axis value to scale.

    Returns number

  • Parameters

    • internal: any

    Returns IgxAxisComponent