Represents the base class for all DataChartComponent category-based axes.

``

``

IgrCategoryAxisBase

new IgrCategoryAxisBase(props: P): IgrCategoryAxisBase

Returns IgrCategoryAxisBase

Inherited from: IgrAxis

actualMajorStroke: string

Inherited from: IgrAxis

actualMinorStroke: string

Inherited from: IgrAxis

actualStroke: string

Inherited from: IgrAxis

annotations: IgrAxisAnnotationCollection

Inherited from: IgrAxis

coercionMethods: any

Inherited from: IgrAxis

companionAxisCrossingAxis: IgrAxis

Inherited from: IgrAxis

companionAxisCrossingAxisName: string

Inherited from: IgrAxis

companionAxisCrossingValue: number

Inherited from: IgrAxis

companionAxisEnabled: boolean

Inherited from: IgrAxis

companionAxisIsInverted: FeatureState

Inherited from: IgrAxis

companionAxisLabelAngle: number

Inherited from: IgrAxis

companionAxisLabelColor: string

Inherited from: IgrAxis

companionAxisLabelExtent: number

companionAxisLabelHorizontalAlignment

Section titled "companionAxisLabelHorizontalAlignment"

Inherited from: IgrAxis

companionAxisLabelHorizontalAlignment: HorizontalAlignment

Inherited from: IgrAxis

companionAxisLabelLocation: AxisLabelsLocation

Inherited from: IgrAxis

companionAxisLabelOpposite: boolean

companionAxisLabelVerticalAlignment

Section titled "companionAxisLabelVerticalAlignment"

Inherited from: IgrAxis

companionAxisLabelVerticalAlignment: VerticalAlignment

Inherited from: IgrAxis

companionAxisLabelVisible: FeatureState

Inherited from: IgrAxis

companionAxisMajorStroke: string

Inherited from: IgrAxis

companionAxisMajorStrokeThickness: number

Inherited from: IgrAxis

companionAxisMinExtent: number

Inherited from: IgrAxis

companionAxisMinorStroke: string

Inherited from: IgrAxis

companionAxisMinorStrokeThickness: number

companionAxisShouldAutoTruncateAnnotations

Section titled "companionAxisShouldAutoTruncateAnnotations"

Inherited from: IgrAxis

companionAxisShouldAutoTruncateAnnotations: FeatureState

companionAxisShouldAvoidAnnotationCollisions

Section titled "companionAxisShouldAvoidAnnotationCollisions"

Inherited from: IgrAxis

companionAxisShouldAvoidAnnotationCollisions: FeatureState

companionAxisShouldKeepAnnotationsInView

Section titled "companionAxisShouldKeepAnnotationsInView"

Inherited from: IgrAxis

companionAxisShouldKeepAnnotationsInView: FeatureState

Inherited from: IgrAxis

companionAxisStrip: string

Inherited from: IgrAxis

companionAxisStroke: string

Inherited from: IgrAxis

companionAxisStrokeThickness: number

companionAxisSyncronizedWithPrimaryAxis

Section titled "companionAxisSyncronizedWithPrimaryAxis"

Inherited from: IgrAxis

companionAxisSyncronizedWithPrimaryAxis: boolean

Inherited from: IgrAxis

companionAxisTickLength: number

Inherited from: IgrAxis

companionAxisTickStroke: string

Inherited from: IgrAxis

companionAxisTickStrokeThickness: number

Inherited from: IgrAxis

companionAxisTitle: string

Inherited from: IgrAxis

crossingAxis: IgrAxis

Inherited from: IgrAxis

crossingAxisName: string

Inherited from: IgrAxis

crossingValue: any
dataSource: any

Inherited from: IgrAxis

enhancedIntervalMinimumCharacters: number

enhancedIntervalPreferMoreCategoryLabels

Section titled "enhancedIntervalPreferMoreCategoryLabels"

Inherited from: IgrAxis

enhancedIntervalPreferMoreCategoryLabels: boolean

Inherited from: IgrAxis

expectFunctions: boolean

Inherited from: IgrAxis

formatLabel: object
gap: number

Inherited from: IgrAxis

isCompanionAxis: boolean

Inherited from: IgrAxis

isDisabled: boolean

Inherited from: IgrAxis

isInverted: boolean
itemsCount: number

Inherited from: IgrAxis

label: any

Inherited from: IgrAxis

labelAngle: number

Inherited from: IgrAxis

labelBottomMargin: number

Inherited from: IgrAxis

labelExtent: number

Inherited from: IgrAxis

labelFormat: string

Inherited from: IgrAxis

labelFormatSpecifiers: any[]

Inherited from: IgrAxis

labelHorizontalAlignment: HorizontalAlignment

Inherited from: IgrAxis

labelLeftMargin: number

Inherited from: IgrAxis

labelLocation: AxisLabelsLocation

Inherited from: IgrAxis

labelMaximumExtent: number

Inherited from: IgrAxis

labelMaximumExtentPercentage: number

Inherited from: IgrAxis

labelRightMargin: number

Inherited from: IgrAxis

labelShowFirstLabel: boolean

Inherited from: IgrAxis

labelTextColor: string

Inherited from: IgrAxis

labelTextStyle: string

Inherited from: IgrAxis

labelTopMargin: number

Inherited from: IgrAxis

labelVerticalAlignment: VerticalAlignment

Inherited from: IgrAxis

labelVisibility: Visibility

Inherited from: IgrAxis

majorStroke: string

Inherited from: IgrAxis

majorStrokeDashArray: number[]

Inherited from: IgrAxis

majorStrokeThickness: number
maximumGap: number
minimumGapSize: number

Inherited from: IgrAxis

minorStroke: string

Inherited from: IgrAxis

minorStrokeDashArray: number[]

Inherited from: IgrAxis

minorStrokeThickness: number

Inherited from: IgrAxis

name: string
overlap: number

Inherited from: IgrAxis

rangeChanged: object

Inherited from: IgrAxis

renderRequested: object

Inherited from: IgrAxis

shouldAutoTruncateAnnotations: boolean

Inherited from: IgrAxis

shouldAvoidAnnotationCollisions: boolean

Inherited from: IgrAxis

shouldKeepAnnotationsInView: boolean

Inherited from: IgrAxis

strip: string

Inherited from: IgrAxis

stroke: string

Inherited from: IgrAxis

strokeDashArray: number[]

Inherited from: IgrAxis

strokeThickness: number

Inherited from: IgrAxis

tickLength: number

Inherited from: IgrAxis

tickStroke: string

Inherited from: IgrAxis

tickStrokeDashArray: number[]

Inherited from: IgrAxis

tickStrokeThickness: number

Inherited from: IgrAxis

title: string

Inherited from: IgrAxis

titleAngle: number

Inherited from: IgrAxis

titleBottomMargin: number

Inherited from: IgrAxis

titleExtent: number

Inherited from: IgrAxis

titleHorizontalAlignment: HorizontalAlignment

Inherited from: IgrAxis

titleLeftMargin: number

Inherited from: IgrAxis

titleLocation: AxisLabelsLocation

Inherited from: IgrAxis

titleMaximumExtent: number

Inherited from: IgrAxis

titleMaximumExtentPercentage: number

Inherited from: IgrAxis

titlePosition: AxisTitlePosition

Inherited from: IgrAxis

titleRightMargin: number

Inherited from: IgrAxis

titleShowFirstLabel: boolean

Inherited from: IgrAxis

titleTextColor: string

Inherited from: IgrAxis

titleTextStyle: string

Inherited from: IgrAxis

titleTopMargin: number

Inherited from: IgrAxis

titleVerticalAlignment: VerticalAlignment

Inherited from: IgrAxis

titleVisibility: Visibility
useClusteringMode: boolean

Inherited from: IgrAxis

useEnhancedIntervalManagement: boolean

Inherited from: IgrAxis

usePerLabelHeightMeasurement: boolean

Inherited from: IgrAxis

get axisInternal(): Axis

Returns Axis

Inherited from: IgrAxis

Gets if the current axis is of angular axis type

get isAngular(): boolean

Returns boolean

Checks if the axis is of category axis type

get isCategory(): boolean

Returns boolean

Inherited from: IgrAxis

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

Inherited from: IgrAxis

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

get isDateTime(): boolean

Returns boolean

Inherited from: IgrAxis

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

Inherited from: IgrAxis

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

Inherited from: IgrAxis

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

get isOrdinal(): boolean

Returns boolean

Inherited from: IgrAxis

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

get isPiecewise(): boolean

Returns boolean

Inherited from: IgrAxis

Gets whether this is primary axis created by an user

get isPrimaryAxis(): boolean

Returns boolean

Inherited from: IgrAxis

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

get isRadial(): boolean

Returns boolean

Inherited from: IgrAxis

Gets or sets if the current axis is sorting data items

get isSorting(): boolean

Returns boolean

Inherited from: IgrAxis

Gets if the current axis is a vertical axis.

get isVertical(): boolean

Returns boolean

get i(): Axis

Returns Axis

Inherited from: IgrAxis

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

Parameters

Returns void

Inherited from: IgrAxis

componentDidMount(): void

Returns void

Inherited from: IgrAxis

ensureLabelSettings(): void

Returns void

Inherited from: IgrAxis

ensureTitleSettings(): void

Returns void

Inherited from: IgrAxis

findByName(name: string): any

Parameters

  • name: string

Returns any

getCategoryBoundingBox(point: IgPoint, useInterpolation: boolean, singularWidth: number): IgRect

Parameters

  • point: IgPoint
  • useInterpolation: boolean
  • singularWidth: number

Returns IgRect

getCategoryBoundingBoxHelper(point: IgPoint, useInterpolation: boolean, singularWidth: number, isVertical: boolean): IgRect

Parameters

  • point: IgPoint
  • useInterpolation: boolean
  • singularWidth: number
  • isVertical: boolean

Returns IgRect

getFullRange(): number[]

Returns number[]

Inherited from: IgrAxis

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

Inherited from: IgrAxis

Gets the label for a data item.

getValueLabel(value: number): string

Parameters

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

Returns string

Used to manually notify the axis that the data source has reset or cleared its items.

notifyClearItems(): void

Returns void

notifyInsertItem(index: number, newItem: any): void

Parameters

  • index: number
  • newItem: any

Returns void

notifyRemoveItem(index: number, oldItem: any): void

Parameters

  • index: number
  • oldItem: any

Returns void

notifySetItem(index: number, oldItem: any, newItem: any): void

Parameters

  • index: number
  • oldItem: any
  • newItem: any

Returns void

provideData(data: any[]): void

Parameters

  • data: any[]

Returns void

Inherited from: IgrAxis

render(): any

Returns any

Inherited from: IgrAxis

Renders the axis with no animation.

renderAxis(): void

Returns void

Inherited from: IgrAxis

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

Inherited from: IgrAxis

Scales a value from axis space into screen space.

scaleValue(unscaledValue: number): number

Parameters

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

Returns number

Inherited from: IgrAxis

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

Parameters

  • nextProps: any
  • nextState: any

Returns boolean

Unscales a value from screen space into axis space.

unscaleValue(unscaledValue: number): number

Parameters

  • unscaledValue: number
    • The scaled value in screen coordinates to unscale into axis space.

Returns number

Inherited from: IgrAxis

_createFromInternal(internal: any): IgrAxis

Parameters

  • internal: any

Returns IgrAxis