charton API / @chart-on/core / index / ChartTypography
Interface: ChartTypography
Defined in: packages/core/src/typography.ts:30
Theme typography: a baseline font plus optional blocks per surface. The baseline's family and size default to the theme's fontFamily and fontSize, so themes that set only those keep working.
Extends
Properties
axis?
optionalaxis?:FontSettings
Defined in: packages/core/src/typography.ts:32
Price and time axis ticks and the price, crosshair and countdown labels on them.
drawings?
optionaldrawings?:FontSettings
Defined in: packages/core/src/typography.ts:38
Text of drawings, the default for tools that read the theme font.
fontFamily?
optionalfontFamily?:string
Defined in: packages/core/src/typography.ts:13
Inherited from
fontSize?
optionalfontSize?:number
Defined in: packages/core/src/typography.ts:15
Size in css px.
Inherited from
fontWeight?
optionalfontWeight?:FontWeight
Defined in: packages/core/src/typography.ts:16
Inherited from
labels?
optionallabels?:FontSettings
Defined in: packages/core/src/typography.ts:36
Labels inside the plot: price lines, alerts, orders, trade badges, tooltips and indicator messages.
legend?
optionallegend?:FontSettings
Defined in: packages/core/src/typography.ts:34
Legend rows and the heatmap inspector.
markers?
optionalmarkers?:FontSettings
Defined in: packages/core/src/typography.ts:42
Text of bar markers (annotations.setMarkers).
numerals?
optionalnumerals?:NumeralStyle
Defined in: packages/core/src/typography.ts:17
Inherited from
watermark?
optionalwatermark?:FontSettings
Defined in: packages/core/src/typography.ts:40
Watermark family and weight; its sizes come from the watermark options.