ZoomCharts Documentation

TimeChart.settings.currentTime

This section is defined by the type TimeChartSettingsCurrentTime.

Moving time line that represents the current time, mainly to analyze real-time data changes. To achieve it, use server time of page load and adjust time zone offset.

Properties

align: "center" | "right" | "left"
Default value: "left"
Inherited from: TimeChartSettingsMarker

Align label relative to the line

enabled: boolean
Default value: true
Inherited from: TimeChartSettingsMarker

Show/hide the marker.

Inherited from: TimeChartSettingsMarker
View section details

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.

overrideLimits: boolean
Default value: false
Inherited from: TimeChartSettingsMarker

Specifies if the time marker is always included when limiting scrolling. If this is true, then the user will always be able to scroll to the current time even if the data is not available.

showTime: boolean
Default value: true
Inherited from: TimeChartSettingsMarker

Show the milestone time along with the label text

side: "top" | "bottom"
Default value: "bottom"
Inherited from: TimeChartSettingsMarker

Align label relative to chart top or bottom side

Inherited from: TimeChartSettingsMarker
View section details

The style for the vertical time marker line.

time: number
Default value: null
Inherited from: TimeChartSettingsMarker

Timestamp in UTC milliseconds to locate time marker on chart. If this is specified, the marker does not automatically move.

X