Skip to content

overrideXAxis(options)

overrideXAxis set the x-axis configuration.

Reference

typescript
(
  xAxis?: {
    name?: string
    scrollZoomEnabled?: boolean
    createTicks?: (params: object) => Array<{
      coord: number
      value: number | string
      text: string
    }>
  }
) => void

Parameters

  • options X-axis configuration.
    • name The name of the axis.
    • scrollZoomEnabled Whether to allow scrolling and zooming.
    • createTicks Create ticks information callback method.

Returns

overrideXAxis returns undefined .

Usage

Basic usage