com.vaadin.flow.component.charts.model.
Class Time
- java.lang.Object
-
- com.vaadin.flow.component.charts.model.AbstractConfigurationObject
-
- com.vaadin.flow.component.charts.model.Time
-
All Implemented Interfaces:
@Generated(value="This class is generated and shouldn\'t be modified", comments="Incorrect and missing API should be reported to https://github.com/vaadin/vaadin-charts-flow/issues/new") public class Time extends AbstractConfigurationObject
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 Constructor and Description Time()
-
Method Summary
All Methods Modifier and Type Method and Description Number
getTimezoneOffset()
Boolean
getUseUTC()
void
setTimezoneOffset(Number timezoneOffset)
The timezone offset in minutes.
void
setUseUTC(Boolean useUTC)
Whether to use UTC time for axis scaling, tickmark placement and time display in
Highcharts.dateFormat
.
-
-
-
Method Detail
-
getTimezoneOffset
public Number getTimezoneOffset()
See Also:
-
setTimezoneOffset
public void setTimezoneOffset(Number timezoneOffset)
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
public Boolean getUseUTC()
See Also:
-
setUseUTC
public void setUseUTC(Boolean useUTC)
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
-
-