ZoomCharts Documentation
TimeChart.settings.milestones
This section is defined by the type TimeChartSettingsMarker.
Properties
align: "center" | "right" | "left"
Default value: "left"
Align label relative to the line
enabled: boolean
Default value: true
Show/hide the marker.
label: BaseSettingsLabelStyle
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
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: false
Show the milestone time along with the label text
side: "top" | "bottom"
Default value: "top"
Align label relative to chart top or bottom side
style: BaseSettingsLineStyle
time: number
Default value: null
Timestamp in UTC milliseconds to locate time marker on chart. If this is specified, the marker does not automatically move.