com.vaadin.flow.component.charts.model.
Class Time
All Implemented Interfaces:
These settings affect how datetime axes are laid out, how tooltips are formatted, how series pointIntervalUnit works and how the Highstock range selector handles time.
See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setTimezoneOffset
(Number timezoneOffset) The timezone offset in minutes.
void
Whether to use UTC time for axis scaling, tickmark placement and time display in
Highcharts.dateFormat
.
-
Constructor Details
-
Time
public Time()
-
-
Method Details
-
getTimezoneOffset
See Also:
-
setTimezoneOffset
The timezone offset in minutes. Positive values are west, negative values are east of UTC, as in the ECMAScript getTimezoneOffset method. Use this to display UTC based data in a predefined time zone.
Defaults to: 0
-
getUseUTC
See Also:
-
setUseUTC
Whether to use UTC time for axis scaling, tickmark placement and time display in
Highcharts.dateFormat
. Advantages of using UTC is that the time displays equally regardless of the user agent's time zone settings. Local time can be used when the data is loaded in real time or when correct Daylight Saving Time transitions are required.Defaults to: true
-