registerXAxis(xAxis) â
registerXAxis
used to custom x-axis.
Reference â
typescript
(
xAxis: {
name: string
scrollZoomEnabled?: boolean
createTicks?: (params: object) => Array<{
coord: number
value: number | string
text: string
}>
}
) => void
Parameters â
xAxis
X-axis configuration.name
Name, a unique identifier used for creation or modification.scrollZoomEnabled
Whether scrolling and zooming are possible on the axis.createTicks
Create ticks information callback method.
Returns â
registerXAxis
returns undefined
.