A horizontal axis that uses a DateTime scale.

The TimeXAxis is a horizontal axis that uses a DateTime scale.

``

``

IgrTimeXAxis

new IgrTimeXAxis(props: IIgrTimeXAxisProps): IgrTimeXAxis

Returns IgrTimeXAxis

Inherited from: IgrTimeAxisBase

actualMajorStroke: string

Inherited from: IgrTimeAxisBase

actualMaximumValue: Date

Inherited from: IgrTimeAxisBase

actualMaximumValueChange: object

Inherited from: IgrTimeAxisBase

actualMinimumValue: Date

Inherited from: IgrTimeAxisBase

actualMinimumValueChange: object

Inherited from: IgrTimeAxisBase

actualMinorStroke: string

Inherited from: IgrTimeAxisBase

actualStroke: string

Inherited from: IgrTimeAxisBase

annotations: IgrAxisAnnotationCollection
breaks: IgrTimeAxisBreakCollection

Inherited from: IgrTimeAxisBase

coercionMethods: any

Inherited from: IgrTimeAxisBase

companionAxisCrossingAxis: IgrAxis

Inherited from: IgrTimeAxisBase

companionAxisCrossingAxisName: string

Inherited from: IgrTimeAxisBase

companionAxisCrossingValue: number

Inherited from: IgrTimeAxisBase

companionAxisEnabled: boolean

Inherited from: IgrTimeAxisBase

companionAxisIsInverted: FeatureState

Inherited from: IgrTimeAxisBase

companionAxisLabelAngle: number

Inherited from: IgrTimeAxisBase

companionAxisLabelColor: string

Inherited from: IgrTimeAxisBase

companionAxisLabelExtent: number

companionAxisLabelHorizontalAlignment

Section titled "companionAxisLabelHorizontalAlignment"

Inherited from: IgrTimeAxisBase

companionAxisLabelHorizontalAlignment: HorizontalAlignment

Inherited from: IgrTimeAxisBase

companionAxisLabelLocation: AxisLabelsLocation

Inherited from: IgrTimeAxisBase

companionAxisLabelOpposite: boolean

companionAxisLabelVerticalAlignment

Section titled "companionAxisLabelVerticalAlignment"

Inherited from: IgrTimeAxisBase

companionAxisLabelVerticalAlignment: VerticalAlignment

Inherited from: IgrTimeAxisBase

companionAxisLabelVisible: FeatureState

Inherited from: IgrTimeAxisBase

companionAxisMajorStroke: string

Inherited from: IgrTimeAxisBase

companionAxisMajorStrokeThickness: number

Inherited from: IgrTimeAxisBase

companionAxisMinExtent: number

Inherited from: IgrTimeAxisBase

companionAxisMinorStroke: string

Inherited from: IgrTimeAxisBase

companionAxisMinorStrokeThickness: number

companionAxisShouldAutoTruncateAnnotations

Section titled "companionAxisShouldAutoTruncateAnnotations"

Inherited from: IgrTimeAxisBase

companionAxisShouldAutoTruncateAnnotations: FeatureState

companionAxisShouldAvoidAnnotationCollisions

Section titled "companionAxisShouldAvoidAnnotationCollisions"

Inherited from: IgrTimeAxisBase

companionAxisShouldAvoidAnnotationCollisions: FeatureState

companionAxisShouldKeepAnnotationsInView

Section titled "companionAxisShouldKeepAnnotationsInView"

Inherited from: IgrTimeAxisBase

companionAxisShouldKeepAnnotationsInView: FeatureState

Inherited from: IgrTimeAxisBase

companionAxisStrip: string

Inherited from: IgrTimeAxisBase

companionAxisStroke: string

Inherited from: IgrTimeAxisBase

companionAxisStrokeThickness: number

companionAxisSyncronizedWithPrimaryAxis

Section titled "companionAxisSyncronizedWithPrimaryAxis"

Inherited from: IgrTimeAxisBase

companionAxisSyncronizedWithPrimaryAxis: boolean

Inherited from: IgrTimeAxisBase

companionAxisTickLength: number

Inherited from: IgrTimeAxisBase

companionAxisTickStroke: string

Inherited from: IgrTimeAxisBase

companionAxisTickStrokeThickness: number

Inherited from: IgrTimeAxisBase

companionAxisTitle: string

Inherited from: IgrTimeAxisBase

crossingAxis: IgrAxis

Inherited from: IgrTimeAxisBase

crossingAxisName: string

Inherited from: IgrTimeAxisBase

crossingValue: any

Inherited from: IgrTimeAxisBase

dataSource: any

Inherited from: IgrTimeAxisBase

dateTimeMemberPath: string

Inherited from: IgrTimeAxisBase

enhancedIntervalMinimumCharacters: number

enhancedIntervalPreferMoreCategoryLabels

Section titled "enhancedIntervalPreferMoreCategoryLabels"

Inherited from: IgrTimeAxisBase

enhancedIntervalPreferMoreCategoryLabels: boolean

Inherited from: IgrTimeAxisBase

expectFunctions: boolean

Inherited from: IgrTimeAxisBase

formatLabel: object

Inherited from: IgrTimeAxisBase

gap: number
intervals: IgrTimeAxisIntervalCollection

Inherited from: IgrTimeAxisBase

isCompanionAxis: boolean

Inherited from: IgrTimeAxisBase

isDataPreSorted: boolean

Inherited from: IgrTimeAxisBase

isDisabled: boolean

Inherited from: IgrTimeAxisBase

isInverted: boolean

Inherited from: IgrTimeAxisBase

itemsCount: number

Inherited from: IgrTimeAxisBase

label: any

Inherited from: IgrTimeAxisBase

labelAngle: number

Inherited from: IgrTimeAxisBase

labelBottomMargin: number

Inherited from: IgrTimeAxisBase

labelExtent: number

Inherited from: IgrTimeAxisBase

labelFormat: string
labelFormats: IgrTimeAxisLabelFormatCollection

Inherited from: IgrTimeAxisBase

labelFormatSpecifiers: any[]

Inherited from: IgrTimeAxisBase

labelHorizontalAlignment: HorizontalAlignment

Inherited from: IgrTimeAxisBase

labelLeftMargin: number
labellingMode: TimeAxisLabellingMode

Inherited from: IgrTimeAxisBase

labelLocation: AxisLabelsLocation

Inherited from: IgrTimeAxisBase

labelMaximumExtent: number

Inherited from: IgrTimeAxisBase

labelMaximumExtentPercentage: number

Inherited from: IgrTimeAxisBase

labelRightMargin: number

Inherited from: IgrTimeAxisBase

labelShowFirstLabel: boolean

Inherited from: IgrTimeAxisBase

labelTextColor: string

Inherited from: IgrTimeAxisBase

labelTextStyle: string

Inherited from: IgrTimeAxisBase

labelTopMargin: number

Inherited from: IgrTimeAxisBase

labelVerticalAlignment: VerticalAlignment

Inherited from: IgrTimeAxisBase

labelVisibility: Visibility

Inherited from: IgrTimeAxisBase

majorStroke: string

Inherited from: IgrTimeAxisBase

majorStrokeDashArray: number[]

Inherited from: IgrTimeAxisBase

majorStrokeThickness: number

Inherited from: IgrTimeAxisBase

maximumGap: number

Inherited from: IgrTimeAxisBase

maximumValue: Date

Inherited from: IgrTimeAxisBase

minimumGapSize: number

Inherited from: IgrTimeAxisBase

minimumValue: Date

Inherited from: IgrTimeAxisBase

minorStroke: string

Inherited from: IgrTimeAxisBase

minorStrokeDashArray: number[]

Inherited from: IgrTimeAxisBase

minorStrokeThickness: number

Inherited from: IgrTimeAxisBase

name: string

Inherited from: IgrTimeAxisBase

overlap: number

Inherited from: IgrTimeAxisBase

rangeChanged: object

Inherited from: IgrTimeAxisBase

renderRequested: object

Inherited from: IgrTimeAxisBase

shouldAutoTruncateAnnotations: boolean

Inherited from: IgrTimeAxisBase

shouldAvoidAnnotationCollisions: boolean

Inherited from: IgrTimeAxisBase

shouldKeepAnnotationsInView: boolean

Inherited from: IgrTimeAxisBase

strip: string

Inherited from: IgrTimeAxisBase

stroke: string

Inherited from: IgrTimeAxisBase

strokeDashArray: number[]

Inherited from: IgrTimeAxisBase

strokeThickness: number

Inherited from: IgrTimeAxisBase

tickLength: number

Inherited from: IgrTimeAxisBase

tickStroke: string

Inherited from: IgrTimeAxisBase

tickStrokeDashArray: number[]

Inherited from: IgrTimeAxisBase

tickStrokeThickness: number

Inherited from: IgrTimeAxisBase

title: string

Inherited from: IgrTimeAxisBase

titleAngle: number

Inherited from: IgrTimeAxisBase

titleBottomMargin: number

Inherited from: IgrTimeAxisBase

titleExtent: number

Inherited from: IgrTimeAxisBase

titleHorizontalAlignment: HorizontalAlignment

Inherited from: IgrTimeAxisBase

titleLeftMargin: number

Inherited from: IgrTimeAxisBase

titleLocation: AxisLabelsLocation

Inherited from: IgrTimeAxisBase

titleMaximumExtent: number

Inherited from: IgrTimeAxisBase

titleMaximumExtentPercentage: number

Inherited from: IgrTimeAxisBase

titlePosition: AxisTitlePosition

Inherited from: IgrTimeAxisBase

titleRightMargin: number

Inherited from: IgrTimeAxisBase

titleShowFirstLabel: boolean

Inherited from: IgrTimeAxisBase

titleTextColor: string

Inherited from: IgrTimeAxisBase

titleTextStyle: string

Inherited from: IgrTimeAxisBase

titleTopMargin: number

Inherited from: IgrTimeAxisBase

titleVerticalAlignment: VerticalAlignment

Inherited from: IgrTimeAxisBase

titleVisibility: Visibility

Inherited from: IgrTimeAxisBase

useClusteringMode: boolean

Inherited from: IgrTimeAxisBase

useEnhancedIntervalManagement: boolean

Inherited from: IgrTimeAxisBase

usePerLabelHeightMeasurement: boolean

Inherited from: IgrTimeAxisBase

get axisInternal(): Axis

Returns Axis

Inherited from: IgrTimeAxisBase

Gets if the current axis is of angular axis type

get isAngular(): boolean

Returns boolean

Inherited from: IgrTimeAxisBase

Checks if the 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

Inherited from: IgrTimeAxisBase

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

get isContinuous(): boolean

Returns boolean

Inherited from: IgrTimeAxisBase

Checks if the axis is of date time axis type

Use IsDateTime property to Checks if the axis is of date time axis type.

``

get isDateTime(): boolean

Returns boolean

Inherited from: IgrTimeAxisBase

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: IgrTimeAxisBase

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: IgrTimeAxisBase

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

Inherited from: IgrTimeAxisBase

Gets whether this is primary axis created by an user

get isPrimaryAxis(): boolean

Returns boolean

Inherited from: IgrTimeAxisBase

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

get isRadial(): boolean

Returns boolean

Inherited from: IgrTimeAxisBase

Checks if axis requires sorting of items

Use IsSorting property to Checks if axis requires sorting of items.

``

get isSorting(): boolean

Returns boolean

Inherited from: IgrTimeAxisBase

Gets if the current axis is a vertical axis.

get isVertical(): boolean

Returns boolean

get i(): Axis

Returns Axis

Inherited from: IgrTimeAxisBase

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

Parameters

Returns void

Inherited from: IgrTimeAxisBase

componentDidMount(): void

Returns void

Inherited from: IgrTimeAxisBase

ensureLabelSettings(): void

Returns void

Inherited from: IgrTimeAxisBase

ensureTitleSettings(): void

Returns void

findByName(name: string): any

Parameters

  • name: string

Returns any

Inherited from: IgrTimeAxisBase

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

Parameters

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

Returns IgRect

Inherited from: IgrTimeAxisBase

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

Parameters

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

Returns IgRect

Inherited from: IgrTimeAxisBase

getFullRange(): number[]

Returns number[]

Gets the index of the data item with the value nearest the given value.

getIndexClosestToUnscaledValue(unscaledValue: number): number

Parameters

  • unscaledValue: number
    • The value to find a value close to.

Returns number

Inherited from: IgrTimeAxisBase

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

Parameters

  • item: any
  • memberPathName: string

Returns any

Inherited from: IgrTimeAxisBase

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

Inherited from: IgrTimeAxisBase

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

notifyClearItems(): void

Returns void

Inherited from: IgrTimeAxisBase

Updates the axis when the data has been changed.

notifyDataChanged(): void

Returns void

Inherited from: IgrTimeAxisBase

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

Parameters

  • index: number
  • newItem: any

Returns void

Inherited from: IgrTimeAxisBase

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

Parameters

  • index: number
  • oldItem: any

Returns void

Inherited from: IgrTimeAxisBase

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

Parameters

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

Returns void

Inherited from: IgrTimeAxisBase

provideData(data: any[]): void

Parameters

  • data: any[]

Returns void

Inherited from: IgrTimeAxisBase

render(): any

Returns any

Inherited from: IgrTimeAxisBase

Renders the axis with no animation.

renderAxis(): void

Returns void

Inherited from: IgrTimeAxisBase

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: IgrTimeAxisBase

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: IgrTimeAxisBase

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

Parameters

  • nextProps: any
  • nextState: any

Returns boolean

Inherited from: IgrTimeAxisBase

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: IgrTimeAxisBase

_createFromInternal(internal: any): IgrAxis

Parameters

  • internal: any

Returns IgrAxis