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

The Axis is an array of axis objects.

``

IgrAxis

new IgrAxis(props: P): IgrAxis

Returns IgrAxis

actualMajorStroke: string
actualMinorStroke: string
actualStroke: string
annotations: IgrAxisAnnotationCollection
coercionMethods: any
companionAxisCrossingAxis: IgrAxis
companionAxisCrossingAxisName: string
companionAxisCrossingValue: number
companionAxisEnabled: boolean
companionAxisIsInverted: FeatureState
companionAxisLabelAngle: number
companionAxisLabelColor: string
companionAxisLabelExtent: number

companionAxisLabelHorizontalAlignment

Section titled "companionAxisLabelHorizontalAlignment"
companionAxisLabelHorizontalAlignment: HorizontalAlignment
companionAxisLabelLocation: AxisLabelsLocation
companionAxisLabelOpposite: boolean

companionAxisLabelVerticalAlignment

Section titled "companionAxisLabelVerticalAlignment"
companionAxisLabelVerticalAlignment: VerticalAlignment
companionAxisLabelVisible: FeatureState
companionAxisMajorStroke: string
companionAxisMajorStrokeThickness: number
companionAxisMinExtent: number
companionAxisMinorStroke: string
companionAxisMinorStrokeThickness: number

companionAxisShouldAutoTruncateAnnotations

Section titled "companionAxisShouldAutoTruncateAnnotations"
companionAxisShouldAutoTruncateAnnotations: FeatureState

companionAxisShouldAvoidAnnotationCollisions

Section titled "companionAxisShouldAvoidAnnotationCollisions"
companionAxisShouldAvoidAnnotationCollisions: FeatureState

companionAxisShouldKeepAnnotationsInView

Section titled "companionAxisShouldKeepAnnotationsInView"
companionAxisShouldKeepAnnotationsInView: FeatureState
companionAxisStrip: string
companionAxisStroke: string
companionAxisStrokeThickness: number

companionAxisSyncronizedWithPrimaryAxis

Section titled "companionAxisSyncronizedWithPrimaryAxis"
companionAxisSyncronizedWithPrimaryAxis: boolean
companionAxisTickLength: number
companionAxisTickStroke: string
companionAxisTickStrokeThickness: number
companionAxisTitle: string
crossingAxis: IgrAxis
crossingAxisName: string
crossingValue: any
enhancedIntervalMinimumCharacters: number

enhancedIntervalPreferMoreCategoryLabels

Section titled "enhancedIntervalPreferMoreCategoryLabels"
enhancedIntervalPreferMoreCategoryLabels: boolean
expectFunctions: boolean
formatLabel: object
isCompanionAxis: boolean
isDisabled: boolean
isInverted: boolean
label: any
labelAngle: number
labelBottomMargin: number
labelExtent: number
labelFormat: string
labelFormatSpecifiers: any[]
labelHorizontalAlignment: HorizontalAlignment
labelLeftMargin: number
labelLocation: AxisLabelsLocation
labelMaximumExtent: number
labelMaximumExtentPercentage: number
labelRightMargin: number
labelShowFirstLabel: boolean
labelTextColor: string
labelTextStyle: string
labelTopMargin: number
labelVerticalAlignment: VerticalAlignment
labelVisibility: Visibility
majorStroke: string
majorStrokeDashArray: number[]
majorStrokeThickness: number
minorStroke: string
minorStrokeDashArray: number[]
minorStrokeThickness: number
name: string
rangeChanged: object
renderRequested: object
shouldAutoTruncateAnnotations: boolean
shouldAvoidAnnotationCollisions: boolean
shouldKeepAnnotationsInView: boolean
strip: string
stroke: string
strokeDashArray: number[]
strokeThickness: number
tickLength: number
tickStroke: string
tickStrokeDashArray: number[]
tickStrokeThickness: number
title: string
titleAngle: number
titleBottomMargin: number
titleExtent: number
titleHorizontalAlignment: HorizontalAlignment
titleLeftMargin: number
titleLocation: AxisLabelsLocation
titleMaximumExtent: number
titleMaximumExtentPercentage: number
titlePosition: AxisTitlePosition
titleRightMargin: number
titleShowFirstLabel: boolean
titleTextColor: string
titleTextStyle: string
titleTopMargin: number
titleVerticalAlignment: VerticalAlignment
titleVisibility: Visibility
useEnhancedIntervalManagement: boolean
usePerLabelHeightMeasurement: boolean
get axisInternal(): Axis

Returns Axis

get i(): Axis

Returns Axis

Gets if the current axis is of angular axis type

get isAngular(): boolean

Returns boolean

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

get isCategory(): boolean

Returns boolean

Gets if the current axis is of category date time axis type

get isCategoryDateTime(): boolean

Returns boolean

Gets if the current axis is a continuous rather than a discrete scale

get isContinuous(): boolean

Returns boolean

Gets or sets if the current axis is of date time axis type

get isDateTime(): boolean

Returns boolean

Gets if the current axis is a horizontal axis, e.g. not vertical axis, not radial axis, and not angular axis.

get isHorizontal(): boolean

Returns 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
get isNumeric(): boolean

Returns boolean

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

get isOrdinal(): boolean

Returns boolean

Gets or sets if the axis is a piecewise scaling function.

get isPiecewise(): boolean

Returns boolean

Gets whether this is primary axis created by an user

get isPrimaryAxis(): boolean

Returns boolean

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

get isRadial(): boolean

Returns boolean

Gets or sets if the current axis is sorting data items

get isSorting(): boolean

Returns boolean

Gets if the current axis is a vertical axis.

get isVertical(): boolean

Returns boolean

bindAxes(axes: IgrAxis<IIgrAxisProps>[]): void

Parameters

Returns void

componentDidMount(): void

Returns void

ensureLabelSettings(): void

Returns void

ensureTitleSettings(): void

Returns void

findByName(name: string): any

Parameters

  • name: string

Returns any

getFullRange(): number[]

Returns number[]

getItemValue(item: any, memberPathName: string): any

Parameters

  • item: any
  • memberPathName: string

Returns any

Gets the value of a requested member path from the series.

getMemberPathValue(memberPathName: string): string

Parameters

  • memberPathName: string
    • The property name of a valid member path for the series

Returns string

Gets the label for a data item.

getValueLabel(value: number): string

Parameters

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

Returns string

provideData(data: any): void

Parameters

  • data: any

Returns void

render(): any

Returns any

Renders the axis with no animation.

renderAxis(): void

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.

resetCachedEnhancedInterval(): void

Returns void

Scales a value from axis space into screen space.

scaleValue(unscaledValue: number): number

Parameters

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

Returns number

shouldComponentUpdate(nextProps: any, nextState: any): boolean

Parameters

  • nextProps: any
  • nextState: any

Returns boolean

_createFromInternal(internal: any): IgrAxis

Parameters

  • internal: any

Returns IgrAxis