A horizontal axis that uses an ordinal DateTime scale. On an ordinal time axis, datapoints are aligned according to their order in the ItemsSource, like a category axis.

You can use the OrdinalTimeXAxis to display dates at equidistant.

``

IgcOrdinalTimeXAxisComponent

new IgcOrdinalTimeXAxisComponent(): IgcOrdinalTimeXAxisComponent

Returns IgcOrdinalTimeXAxisComponent

htmlTagName: string

Inherited from: IgcCategoryXAxisComponent

actualInterval: number

Inherited from: IgcCategoryXAxisComponent

actualIntervalChange: object

Inherited from: IgcCategoryXAxisComponent

actualMajorStroke: string

Inherited from: IgcCategoryXAxisComponent

actualMinorInterval: number

Inherited from: IgcCategoryXAxisComponent

actualMinorIntervalChange: object

Inherited from: IgcCategoryXAxisComponent

actualMinorStroke: string

Inherited from: IgcCategoryXAxisComponent

actualStroke: string

Inherited from: IgcCategoryXAxisComponent

annotations: IgcAxisAnnotationCollection

Inherited from: IgcCategoryXAxisComponent

coercionMethods: any

Inherited from: IgcCategoryXAxisComponent

companionAxisCrossingAxis: IgcAxisComponent

Inherited from: IgcCategoryXAxisComponent

companionAxisCrossingAxisName: string

Inherited from: IgcCategoryXAxisComponent

companionAxisCrossingValue: number

Inherited from: IgcCategoryXAxisComponent

companionAxisEnabled: boolean

Inherited from: IgcCategoryXAxisComponent

companionAxisInterval: number

Inherited from: IgcCategoryXAxisComponent

companionAxisIsInverted: FeatureState

Inherited from: IgcCategoryXAxisComponent

companionAxisLabelAngle: number

Inherited from: IgcCategoryXAxisComponent

companionAxisLabelColor: string

Inherited from: IgcCategoryXAxisComponent

companionAxisLabelExtent: number

companionAxisLabelHorizontalAlignment

Section titled "companionAxisLabelHorizontalAlignment"

Inherited from: IgcCategoryXAxisComponent

companionAxisLabelHorizontalAlignment: HorizontalAlignment

Inherited from: IgcCategoryXAxisComponent

companionAxisLabelLocation: AxisLabelsLocation

Inherited from: IgcCategoryXAxisComponent

companionAxisLabelOpposite: boolean

companionAxisLabelVerticalAlignment

Section titled "companionAxisLabelVerticalAlignment"

Inherited from: IgcCategoryXAxisComponent

companionAxisLabelVerticalAlignment: VerticalAlignment

Inherited from: IgcCategoryXAxisComponent

companionAxisLabelVisible: FeatureState

Inherited from: IgcCategoryXAxisComponent

companionAxisMajorStroke: string

Inherited from: IgcCategoryXAxisComponent

companionAxisMajorStrokeThickness: number

Inherited from: IgcCategoryXAxisComponent

companionAxisMinExtent: number

Inherited from: IgcCategoryXAxisComponent

companionAxisMinorInterval: number

Inherited from: IgcCategoryXAxisComponent

companionAxisMinorStroke: string

Inherited from: IgcCategoryXAxisComponent

companionAxisMinorStrokeThickness: number

companionAxisShouldAutoTruncateAnnotations

Section titled "companionAxisShouldAutoTruncateAnnotations"

Inherited from: IgcCategoryXAxisComponent

companionAxisShouldAutoTruncateAnnotations: FeatureState

companionAxisShouldAvoidAnnotationCollisions

Section titled "companionAxisShouldAvoidAnnotationCollisions"

Inherited from: IgcCategoryXAxisComponent

companionAxisShouldAvoidAnnotationCollisions: FeatureState

companionAxisShouldKeepAnnotationsInView

Section titled "companionAxisShouldKeepAnnotationsInView"

Inherited from: IgcCategoryXAxisComponent

companionAxisShouldKeepAnnotationsInView: FeatureState

Inherited from: IgcCategoryXAxisComponent

companionAxisStrip: string

Inherited from: IgcCategoryXAxisComponent

companionAxisStroke: string

Inherited from: IgcCategoryXAxisComponent

companionAxisStrokeThickness: number

companionAxisSyncronizedWithPrimaryAxis

Section titled "companionAxisSyncronizedWithPrimaryAxis"

Inherited from: IgcCategoryXAxisComponent

companionAxisSyncronizedWithPrimaryAxis: boolean

Inherited from: IgcCategoryXAxisComponent

companionAxisTickLength: number

Inherited from: IgcCategoryXAxisComponent

companionAxisTickStroke: string

Inherited from: IgcCategoryXAxisComponent

companionAxisTickStrokeThickness: number

Inherited from: IgcCategoryXAxisComponent

companionAxisTitle: string

Inherited from: IgcCategoryXAxisComponent

crossingAxis: IgcAxisComponent

Inherited from: IgcCategoryXAxisComponent

crossingAxisName: string

Inherited from: IgcCategoryXAxisComponent

crossingValue: any

Inherited from: IgcCategoryXAxisComponent

dataSource: any
dateTimeMemberPath: string

Inherited from: IgcCategoryXAxisComponent

enhancedIntervalMinimumCharacters: number

enhancedIntervalPreferMoreCategoryLabels

Section titled "enhancedIntervalPreferMoreCategoryLabels"

Inherited from: IgcCategoryXAxisComponent

enhancedIntervalPreferMoreCategoryLabels: boolean

Inherited from: IgcCategoryXAxisComponent

expectFunctions: boolean

Inherited from: IgcCategoryXAxisComponent

formatLabel: object

Inherited from: IgcCategoryXAxisComponent

gap: number

Inherited from: IgcCategoryXAxisComponent

interval: number

Inherited from: IgcCategoryXAxisComponent

isCompanionAxis: boolean

Inherited from: IgcCategoryXAxisComponent

isDisabled: boolean

Inherited from: IgcCategoryXAxisComponent

isInverted: boolean

Inherited from: IgcCategoryXAxisComponent

isLastLabelMandatory: boolean

Inherited from: IgcCategoryXAxisComponent

itemsCount: number

Inherited from: IgcCategoryXAxisComponent

label: any

Inherited from: IgcCategoryXAxisComponent

labelAngle: number

Inherited from: IgcCategoryXAxisComponent

labelBottomMargin: number

Inherited from: IgcCategoryXAxisComponent

labelExtent: number

Inherited from: IgcCategoryXAxisComponent

labelFormat: string
labelFormats: IgcTimeAxisLabelFormatCollection

Inherited from: IgcCategoryXAxisComponent

labelFormatSpecifiers: any[]

Inherited from: IgcCategoryXAxisComponent

labelHorizontalAlignment: HorizontalAlignment

Inherited from: IgcCategoryXAxisComponent

labelLeftMargin: number
labellingMode: TimeAxisLabellingMode

Inherited from: IgcCategoryXAxisComponent

labelLocation: AxisLabelsLocation

Inherited from: IgcCategoryXAxisComponent

labelMaximumExtent: number

Inherited from: IgcCategoryXAxisComponent

labelMaximumExtentPercentage: number

Inherited from: IgcCategoryXAxisComponent

labelRightMargin: number

Inherited from: IgcCategoryXAxisComponent

labelShowFirstLabel: boolean

Inherited from: IgcCategoryXAxisComponent

labelTextColor: string

Inherited from: IgcCategoryXAxisComponent

labelTextStyle: string

Inherited from: IgcCategoryXAxisComponent

labelTopMargin: number

Inherited from: IgcCategoryXAxisComponent

labelVerticalAlignment: VerticalAlignment

Inherited from: IgcCategoryXAxisComponent

labelVisibility: Visibility

Inherited from: IgcCategoryXAxisComponent

majorStroke: string

Inherited from: IgcCategoryXAxisComponent

majorStrokeDashArray: number[]

Inherited from: IgcCategoryXAxisComponent

majorStrokeThickness: number

Inherited from: IgcCategoryXAxisComponent

maximumGap: number
maximumValue: Date

Inherited from: IgcCategoryXAxisComponent

minimumGapSize: number
minimumValue: Date

Inherited from: IgcCategoryXAxisComponent

minorInterval: number

Inherited from: IgcCategoryXAxisComponent

minorStroke: string

Inherited from: IgcCategoryXAxisComponent

minorStrokeDashArray: number[]

Inherited from: IgcCategoryXAxisComponent

minorStrokeThickness: number

Inherited from: IgcCategoryXAxisComponent

name: string

Inherited from: IgcCategoryXAxisComponent

overlap: number

Inherited from: IgcCategoryXAxisComponent

rangeChanged: object

Inherited from: IgcCategoryXAxisComponent

renderRequested: object

Inherited from: IgcCategoryXAxisComponent

shouldAutoTruncateAnnotations: boolean

Inherited from: IgcCategoryXAxisComponent

shouldAvoidAnnotationCollisions: boolean

Inherited from: IgcCategoryXAxisComponent

shouldKeepAnnotationsInView: boolean

Inherited from: IgcCategoryXAxisComponent

strip: string

Inherited from: IgcCategoryXAxisComponent

stroke: string

Inherited from: IgcCategoryXAxisComponent

strokeDashArray: number[]

Inherited from: IgcCategoryXAxisComponent

strokeThickness: number

Inherited from: IgcCategoryXAxisComponent

tickLength: number

Inherited from: IgcCategoryXAxisComponent

tickStroke: string

Inherited from: IgcCategoryXAxisComponent

tickStrokeDashArray: number[]

Inherited from: IgcCategoryXAxisComponent

tickStrokeThickness: number

Inherited from: IgcCategoryXAxisComponent

title: string

Inherited from: IgcCategoryXAxisComponent

titleAngle: number

Inherited from: IgcCategoryXAxisComponent

titleBottomMargin: number

Inherited from: IgcCategoryXAxisComponent

titleExtent: number

Inherited from: IgcCategoryXAxisComponent

titleHorizontalAlignment: HorizontalAlignment

Inherited from: IgcCategoryXAxisComponent

titleLeftMargin: number

Inherited from: IgcCategoryXAxisComponent

titleLocation: AxisLabelsLocation

Inherited from: IgcCategoryXAxisComponent

titleMaximumExtent: number

Inherited from: IgcCategoryXAxisComponent

titleMaximumExtentPercentage: number

Inherited from: IgcCategoryXAxisComponent

titlePosition: AxisTitlePosition

Inherited from: IgcCategoryXAxisComponent

titleRightMargin: number

Inherited from: IgcCategoryXAxisComponent

titleShowFirstLabel: boolean

Inherited from: IgcCategoryXAxisComponent

titleTextColor: string

Inherited from: IgcCategoryXAxisComponent

titleTextStyle: string

Inherited from: IgcCategoryXAxisComponent

titleTopMargin: number

Inherited from: IgcCategoryXAxisComponent

titleVerticalAlignment: VerticalAlignment

Inherited from: IgcCategoryXAxisComponent

titleVisibility: Visibility

Inherited from: IgcCategoryXAxisComponent

useClusteringMode: boolean

Inherited from: IgcCategoryXAxisComponent

useEnhancedIntervalManagement: boolean

Inherited from: IgcCategoryXAxisComponent

usePerLabelHeightMeasurement: boolean

Inherited from: IgcCategoryXAxisComponent

zoomMaximumCategoryRange: number

Inherited from: IgcCategoryXAxisComponent

zoomMaximumItemSpan: number

Inherited from: IgcCategoryXAxisComponent

zoomToCategoryRange: number

Inherited from: IgcCategoryXAxisComponent

zoomToCategoryStart: number

Inherited from: IgcCategoryXAxisComponent

zoomToItemSpan: number

Inherited from: IgcCategoryXAxisComponent

get axisInternal(): Axis

Returns Axis

Inherited from: IgcCategoryXAxisComponent

Gets if the current axis is of angular axis type

get isAngular(): boolean

Returns boolean

Inherited from: IgcCategoryXAxisComponent

Checks if the axis is of category axis type

get isCategory(): boolean

Returns boolean

Inherited from: IgcCategoryXAxisComponent

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

get isCategoryDateTime(): boolean

Returns boolean

Inherited from: IgcCategoryXAxisComponent

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

get isContinuous(): boolean

Returns boolean

Inherited from: IgcCategoryXAxisComponent

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

get isDateTime(): boolean

Returns boolean

Inherited from: IgcCategoryXAxisComponent

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

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

Inherited from: IgcCategoryXAxisComponent

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

get isPiecewise(): boolean

Returns boolean

Inherited from: IgcCategoryXAxisComponent

Gets whether this is primary axis created by an user

get isPrimaryAxis(): boolean

Returns boolean

Inherited from: IgcCategoryXAxisComponent

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

get isRadial(): boolean

Returns boolean

Inherited from: IgcCategoryXAxisComponent

Gets or sets if the current axis is sorting data items

get isSorting(): boolean

Returns boolean

Inherited from: IgcCategoryXAxisComponent

Gets if the current axis is a vertical axis.

get isVertical(): boolean

Returns boolean

get observedAttributes(): string[]

Returns string[]

Inherited from: IgcCategoryXAxisComponent

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

Parameters

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

Returns void

Inherited from: IgcCategoryXAxisComponent

bindAxes(axes: IgcAxisComponent[]): void

Parameters

Returns void

connectedCallback(): void

Returns void

disconnectedCallback(): void

Returns void

Inherited from: IgcCategoryXAxisComponent

ensureLabelSettings(): void

Returns void

Inherited from: IgcCategoryXAxisComponent

ensureTitleSettings(): void

Returns void

findByName(name: string): any

Parameters

  • name: string

Returns any

Inherited from: IgcCategoryXAxisComponent

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

Parameters

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

Returns IgRect

Inherited from: IgcCategoryXAxisComponent

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

Parameters

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

Returns IgRect

Inherited from: IgcCategoryXAxisComponent

getFullRange(): number[]

Returns number[]

Inherited from: IgcCategoryXAxisComponent

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

Parameters

  • item: any
  • memberPathName: string

Returns any

Inherited from: IgcCategoryXAxisComponent

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

Gets window zoom scale required to zoom to specified number of categories

getWindowZoomFromCategories(categoriesCount: number): number

Parameters

  • categoriesCount: number

Returns number

Inherited from: IgcCategoryXAxisComponent

Gets window zoom scale required to zoom to specified span of series item

getWindowZoomFromItemSpan(pixels: number): number

Parameters

  • pixels: number

Returns number

Inherited from: IgcCategoryXAxisComponent

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

notifyClearItems(): void

Returns void

Inherited from: IgcCategoryXAxisComponent

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

Parameters

  • index: number
  • newItem: any

Returns void

Inherited from: IgcCategoryXAxisComponent

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

Parameters

  • index: number
  • oldItem: any

Returns void

Inherited from: IgcCategoryXAxisComponent

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

Parameters

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

Returns void

Inherited from: IgcCategoryXAxisComponent

provideData(data: any[]): void

Parameters

  • data: any[]

Returns void

Inherited from: IgcCategoryXAxisComponent

Renders the axis with no animation.

renderAxis(): void

Returns void

Inherited from: IgcCategoryXAxisComponent

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

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

Scrolls the specified item into view.

scrollIntoView(item: any): void

Parameters

  • item: any
    • Data item to scroll into view

Returns void

Inherited from: IgcCategoryXAxisComponent

scrollRangeIntoView(minimum: number, maximum: number): void

Parameters

  • minimum: number
  • maximum: number

Returns void

Inherited from: IgcCategoryXAxisComponent

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

_createFromInternal(internal: any): IgcAxisComponent

Parameters

  • internal: any

Returns IgcAxisComponent

register(): void

Returns void