ZoomCharts Documentation

Version: 1.21.1 (2024-11-08)

TimeChart.settings.currentTime.label

This section is defined by the type BaseSettingsLabelStyle.

Style settings for the drawing the time line text on the chart. You can also use label.text property to specify additional text that will be shown next to the time or by setting showTime to false (the default) display only the specified text.

Properties

align: "center" | "right" | "left"
Default value: "left"

Text alignment.

angle: number

The angle at which the label are rotated

aspectRatio: number

Ratio between label sizes in different dimensions

View section details

Background style including fill color.

borderRadius: number

Radius of item border. Similar to CSS border radius property. Zero radius will show a rectangle

extra: any

Extra data associated with the label

forceNoWrap: boolean
image: string

Label image.

imageSlicing: [number, number, number, number]

Slicing to use tiled images. Array of 4 values: [left, top, width, height]

lineSpacing: number
Default value: 0.2

Vertical space between the lines of text. In multiples of text line height.

margin: number
Default value: 4

Margin around label text

maxWidth: number

Maximum width of the label.

padding: number
Default value: 3

Padding between item content and item border.

text: string

Label text.

View section details

Text style including fill color and font.

X