A horizontal axis that uses a DateTime scale.

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

IgcTimeXAxisComponent

new IgcTimeXAxisComponent(): IgcTimeXAxisComponent

Returns IgcTimeXAxisComponent

htmlTagName: string

Inherited from: IgcTimeAxisBaseComponent

actualMajorStroke: string

Inherited from: IgcTimeAxisBaseComponent

actualMaximumValue: Date

Inherited from: IgcTimeAxisBaseComponent

actualMaximumValueChange: object

Inherited from: IgcTimeAxisBaseComponent

actualMinimumValue: Date

Inherited from: IgcTimeAxisBaseComponent

actualMinimumValueChange: object

Inherited from: IgcTimeAxisBaseComponent

actualMinorStroke: string

Inherited from: IgcTimeAxisBaseComponent

actualStroke: string

Inherited from: IgcTimeAxisBaseComponent

annotations: IgcAxisAnnotationCollection
breaks: IgcTimeAxisBreakCollection

Inherited from: IgcTimeAxisBaseComponent

coercionMethods: any

Inherited from: IgcTimeAxisBaseComponent

companionAxisCrossingAxis: IgcAxisComponent

Inherited from: IgcTimeAxisBaseComponent

companionAxisCrossingAxisName: string

Inherited from: IgcTimeAxisBaseComponent

companionAxisCrossingValue: number

Inherited from: IgcTimeAxisBaseComponent

companionAxisEnabled: boolean

Inherited from: IgcTimeAxisBaseComponent

companionAxisIsInverted: FeatureState

Inherited from: IgcTimeAxisBaseComponent

companionAxisLabelAngle: number

Inherited from: IgcTimeAxisBaseComponent

companionAxisLabelColor: string

Inherited from: IgcTimeAxisBaseComponent

companionAxisLabelExtent: number

companionAxisLabelHorizontalAlignment

Section titled "companionAxisLabelHorizontalAlignment"

Inherited from: IgcTimeAxisBaseComponent

companionAxisLabelHorizontalAlignment: HorizontalAlignment

Inherited from: IgcTimeAxisBaseComponent

companionAxisLabelLocation: AxisLabelsLocation

Inherited from: IgcTimeAxisBaseComponent

companionAxisLabelOpposite: boolean

companionAxisLabelVerticalAlignment

Section titled "companionAxisLabelVerticalAlignment"

Inherited from: IgcTimeAxisBaseComponent

companionAxisLabelVerticalAlignment: VerticalAlignment

Inherited from: IgcTimeAxisBaseComponent

companionAxisLabelVisible: FeatureState

Inherited from: IgcTimeAxisBaseComponent

companionAxisMajorStroke: string

Inherited from: IgcTimeAxisBaseComponent

companionAxisMajorStrokeThickness: number

Inherited from: IgcTimeAxisBaseComponent

companionAxisMinExtent: number

Inherited from: IgcTimeAxisBaseComponent

companionAxisMinorStroke: string

Inherited from: IgcTimeAxisBaseComponent

companionAxisMinorStrokeThickness: number

companionAxisShouldAutoTruncateAnnotations

Section titled "companionAxisShouldAutoTruncateAnnotations"

Inherited from: IgcTimeAxisBaseComponent

companionAxisShouldAutoTruncateAnnotations: FeatureState

companionAxisShouldAvoidAnnotationCollisions

Section titled "companionAxisShouldAvoidAnnotationCollisions"

Inherited from: IgcTimeAxisBaseComponent

companionAxisShouldAvoidAnnotationCollisions: FeatureState

companionAxisShouldKeepAnnotationsInView

Section titled "companionAxisShouldKeepAnnotationsInView"

Inherited from: IgcTimeAxisBaseComponent

companionAxisShouldKeepAnnotationsInView: FeatureState

Inherited from: IgcTimeAxisBaseComponent

companionAxisStrip: string

Inherited from: IgcTimeAxisBaseComponent

companionAxisStroke: string

Inherited from: IgcTimeAxisBaseComponent

companionAxisStrokeThickness: number

companionAxisSyncronizedWithPrimaryAxis

Section titled "companionAxisSyncronizedWithPrimaryAxis"

Inherited from: IgcTimeAxisBaseComponent

companionAxisSyncronizedWithPrimaryAxis: boolean

Inherited from: IgcTimeAxisBaseComponent

companionAxisTickLength: number

Inherited from: IgcTimeAxisBaseComponent

companionAxisTickStroke: string

Inherited from: IgcTimeAxisBaseComponent

companionAxisTickStrokeThickness: number

Inherited from: IgcTimeAxisBaseComponent

companionAxisTitle: string

Inherited from: IgcTimeAxisBaseComponent

crossingAxis: IgcAxisComponent

Inherited from: IgcTimeAxisBaseComponent

crossingAxisName: string

Inherited from: IgcTimeAxisBaseComponent

crossingValue: any

Inherited from: IgcTimeAxisBaseComponent

dataSource: any

Inherited from: IgcTimeAxisBaseComponent

dateTimeMemberPath: string

Inherited from: IgcTimeAxisBaseComponent

enhancedIntervalMinimumCharacters: number

enhancedIntervalPreferMoreCategoryLabels

Section titled "enhancedIntervalPreferMoreCategoryLabels"

Inherited from: IgcTimeAxisBaseComponent

enhancedIntervalPreferMoreCategoryLabels: boolean

Inherited from: IgcTimeAxisBaseComponent

expectFunctions: boolean

Inherited from: IgcTimeAxisBaseComponent

formatLabel: object

Inherited from: IgcTimeAxisBaseComponent

gap: number
intervals: IgcTimeAxisIntervalCollection

Inherited from: IgcTimeAxisBaseComponent

isCompanionAxis: boolean

Inherited from: IgcTimeAxisBaseComponent

isDataPreSorted: boolean

Inherited from: IgcTimeAxisBaseComponent

isDisabled: boolean

Inherited from: IgcTimeAxisBaseComponent

isInverted: boolean

Inherited from: IgcTimeAxisBaseComponent

isLastLabelMandatory: boolean

Inherited from: IgcTimeAxisBaseComponent

itemsCount: number

Inherited from: IgcTimeAxisBaseComponent

label: any

Inherited from: IgcTimeAxisBaseComponent

labelAngle: number

Inherited from: IgcTimeAxisBaseComponent

labelBottomMargin: number

Inherited from: IgcTimeAxisBaseComponent

labelExtent: number

Inherited from: IgcTimeAxisBaseComponent

labelFormat: string
labelFormats: IgcTimeAxisLabelFormatCollection

Inherited from: IgcTimeAxisBaseComponent

labelFormatSpecifiers: any[]

Inherited from: IgcTimeAxisBaseComponent

labelHorizontalAlignment: HorizontalAlignment

Inherited from: IgcTimeAxisBaseComponent

labelLeftMargin: number
labellingMode: TimeAxisLabellingMode

Inherited from: IgcTimeAxisBaseComponent

labelLocation: AxisLabelsLocation

Inherited from: IgcTimeAxisBaseComponent

labelMaximumExtent: number

Inherited from: IgcTimeAxisBaseComponent

labelMaximumExtentPercentage: number

Inherited from: IgcTimeAxisBaseComponent

labelRightMargin: number

Inherited from: IgcTimeAxisBaseComponent

labelShowFirstLabel: boolean

Inherited from: IgcTimeAxisBaseComponent

labelTextColor: string

Inherited from: IgcTimeAxisBaseComponent

labelTextStyle: string

Inherited from: IgcTimeAxisBaseComponent

labelTopMargin: number

Inherited from: IgcTimeAxisBaseComponent

labelVerticalAlignment: VerticalAlignment

Inherited from: IgcTimeAxisBaseComponent

labelVisibility: Visibility

Inherited from: IgcTimeAxisBaseComponent

majorStroke: string

Inherited from: IgcTimeAxisBaseComponent

majorStrokeDashArray: number[]

Inherited from: IgcTimeAxisBaseComponent

majorStrokeThickness: number

Inherited from: IgcTimeAxisBaseComponent

maximumGap: number

Inherited from: IgcTimeAxisBaseComponent

maximumValue: Date

Inherited from: IgcTimeAxisBaseComponent

minimumGapSize: number

Inherited from: IgcTimeAxisBaseComponent

minimumValue: Date

Inherited from: IgcTimeAxisBaseComponent

minorStroke: string

Inherited from: IgcTimeAxisBaseComponent

minorStrokeDashArray: number[]

Inherited from: IgcTimeAxisBaseComponent

minorStrokeThickness: number

Inherited from: IgcTimeAxisBaseComponent

name: string

Inherited from: IgcTimeAxisBaseComponent

overlap: number

Inherited from: IgcTimeAxisBaseComponent

rangeChanged: object

Inherited from: IgcTimeAxisBaseComponent

renderRequested: object

Inherited from: IgcTimeAxisBaseComponent

shouldAutoTruncateAnnotations: boolean

Inherited from: IgcTimeAxisBaseComponent

shouldAvoidAnnotationCollisions: boolean

Inherited from: IgcTimeAxisBaseComponent

shouldKeepAnnotationsInView: boolean

Inherited from: IgcTimeAxisBaseComponent

strip: string

Inherited from: IgcTimeAxisBaseComponent

stroke: string

Inherited from: IgcTimeAxisBaseComponent

strokeDashArray: number[]

Inherited from: IgcTimeAxisBaseComponent

strokeThickness: number

Inherited from: IgcTimeAxisBaseComponent

tickLength: number

Inherited from: IgcTimeAxisBaseComponent

tickStroke: string

Inherited from: IgcTimeAxisBaseComponent

tickStrokeDashArray: number[]

Inherited from: IgcTimeAxisBaseComponent

tickStrokeThickness: number

Inherited from: IgcTimeAxisBaseComponent

title: string

Inherited from: IgcTimeAxisBaseComponent

titleAngle: number

Inherited from: IgcTimeAxisBaseComponent

titleBottomMargin: number

Inherited from: IgcTimeAxisBaseComponent

titleExtent: number

Inherited from: IgcTimeAxisBaseComponent

titleHorizontalAlignment: HorizontalAlignment

Inherited from: IgcTimeAxisBaseComponent

titleLeftMargin: number

Inherited from: IgcTimeAxisBaseComponent

titleLocation: AxisLabelsLocation

Inherited from: IgcTimeAxisBaseComponent

titleMaximumExtent: number

Inherited from: IgcTimeAxisBaseComponent

titleMaximumExtentPercentage: number

Inherited from: IgcTimeAxisBaseComponent

titlePosition: AxisTitlePosition

Inherited from: IgcTimeAxisBaseComponent

titleRightMargin: number

Inherited from: IgcTimeAxisBaseComponent

titleShowFirstLabel: boolean

Inherited from: IgcTimeAxisBaseComponent

titleTextColor: string

Inherited from: IgcTimeAxisBaseComponent

titleTextStyle: string

Inherited from: IgcTimeAxisBaseComponent

titleTopMargin: number

Inherited from: IgcTimeAxisBaseComponent

titleVerticalAlignment: VerticalAlignment

Inherited from: IgcTimeAxisBaseComponent

titleVisibility: Visibility

Inherited from: IgcTimeAxisBaseComponent

useClusteringMode: boolean

Inherited from: IgcTimeAxisBaseComponent

useEnhancedIntervalManagement: boolean

Inherited from: IgcTimeAxisBaseComponent

usePerLabelHeightMeasurement: boolean

Inherited from: IgcTimeAxisBaseComponent

get axisInternal(): Axis

Returns Axis

Inherited from: IgcTimeAxisBaseComponent

Gets if the current axis is of angular axis type

get isAngular(): boolean

Returns boolean

Inherited from: IgcTimeAxisBaseComponent

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

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

get isContinuous(): boolean

Returns boolean

Inherited from: IgcTimeAxisBaseComponent

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

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

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

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

Gets whether this is primary axis created by an user

get isPrimaryAxis(): boolean

Returns boolean

Inherited from: IgcTimeAxisBaseComponent

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

get isRadial(): boolean

Returns boolean

Inherited from: IgcTimeAxisBaseComponent

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

Gets if the current axis is a vertical axis.

get isVertical(): boolean

Returns boolean

get observedAttributes(): string[]

Returns string[]

Inherited from: IgcTimeAxisBaseComponent

attributeChangedCallback(name: string, oldValue: string, newValue: string): void

Parameters

  • name: string
  • oldValue: string
  • newValue: string

Returns void

Inherited from: IgcTimeAxisBaseComponent

bindAxes(axes: IgcAxisComponent[]): void

Parameters

Returns void

connectedCallback(): void

Returns void

disconnectedCallback(): void

Returns void

Inherited from: IgcTimeAxisBaseComponent

ensureLabelSettings(): void

Returns void

Inherited from: IgcTimeAxisBaseComponent

ensureTitleSettings(): void

Returns void

findByName(name: string): any

Parameters

  • name: string

Returns any

Inherited from: IgcTimeAxisBaseComponent

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

Parameters

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

Returns IgRect

Inherited from: IgcTimeAxisBaseComponent

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

Parameters

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

Returns IgRect

Inherited from: IgcTimeAxisBaseComponent

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

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

Parameters

  • item: any
  • memberPathName: string

Returns any

Inherited from: IgcTimeAxisBaseComponent

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

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

notifyClearItems(): void

Returns void

Inherited from: IgcTimeAxisBaseComponent

Updates the axis when the data has been changed.

notifyDataChanged(): void

Returns void

Inherited from: IgcTimeAxisBaseComponent

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

Parameters

  • index: number
  • newItem: any

Returns void

Inherited from: IgcTimeAxisBaseComponent

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

Parameters

  • index: number
  • oldItem: any

Returns void

Inherited from: IgcTimeAxisBaseComponent

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

Parameters

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

Returns void

Inherited from: IgcTimeAxisBaseComponent

provideData(data: any[]): void

Parameters

  • data: any[]

Returns void

Inherited from: IgcTimeAxisBaseComponent

Renders the axis with no animation.

renderAxis(): void

Returns void

Inherited from: IgcTimeAxisBaseComponent

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

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

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

_createFromInternal(internal: any): IgcAxisComponent

Parameters

  • internal: any

Returns IgcAxisComponent

register(): void

Returns void