charton API / @chart-on/core / index / TimeAxisOptions
Interface: TimeAxisOptions
Defined in: packages/core/src/chart.ts:324
Time axis layout and labels; applyOptions merges a partial one.
Properties
border
border:
boolean
Defined in: packages/core/src/chart.ts:332
The line between the plot and the time axis. Default true.
fontSize?
optionalfontSize?:number
Defined in: packages/core/src/chart.ts:338
Font size (css px) of the time axis text and labels; unset for the theme's axis font.
height
height:
number
Defined in: packages/core/src/chart.ts:328
Height (css px). Default 28.
showSeconds
showSeconds:
boolean
Defined in: packages/core/src/chart.ts:336
Seconds in the built-in time-of-day labels: axis ticks, the crosshair and drawings. Default false.
showTime
showTime:
boolean
Defined in: packages/core/src/chart.ts:334
Time of day in the built-in crosshair and drawing time labels of intraday bars. Default true.
ticks
ticks:
boolean
Defined in: packages/core/src/chart.ts:330
Short marks at each time label, under the plot edge. Default false.
visible
visible:
boolean
Defined in: packages/core/src/chart.ts:326
Show the time axis; hidden, its height goes to the plot. Default true.