Class Time
java.lang.Object
com.vaadin.flow.component.charts.model.AbstractConfigurationObject
com.vaadin.flow.component.charts.model.Time
- All Implemented Interfaces:
Serializable
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 TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.This property is deprecated and should not be used in new code.Deprecated, for removal: This API element is subject to removal in a future version.This property is deprecated and should not be used in new code.voidsetTimezone(String timezone) A named time zone.voidsetTimezoneOffset(Number timezoneOffset) Deprecated, for removal: This API element is subject to removal in a future version.This property is deprecated and should not be used in new code.voidDeprecated, for removal: This API element is subject to removal in a future version.This property is deprecated and should not be used in new code.
-
Constructor Details
-
Time
public Time()
-
-
Method Details
-
getTimezone
- See Also:
-
setTimezone
A named time zone. Supported time zone names rely on the browser implementations, as described in the mdn docs. If the given time zone is not recognized by the browser, Highcharts provides a warning and falls back to returning a 0 offset, corresponding to the UTC time zone.The time zone affects axis scaling, tickmark placement and time display in
Highcharts.dateFormat.Setting timezone to
nullfalls back to the default browser timezone setting. Setting it to"UTC"is equivalent to settinguseUTCto true.- Parameters:
timezone-
-
getTimezoneOffset
Deprecated, for removal: This API element is subject to removal in a future version.This property is deprecated and should not be used in new code. UsesetTimezone(String)instead.- See Also:
-
setTimezoneOffset
Deprecated, for removal: This API element is subject to removal in a future version.This property is deprecated and should not be used in new code. UsesetTimezone(String)instead.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
Deprecated, for removal: This API element is subject to removal in a future version.This property is deprecated and should not be used in new code. UsesetTimezone(String)instead.- See Also:
-
setUseUTC
Deprecated, for removal: This API element is subject to removal in a future version.This property is deprecated and should not be used in new code. UsesetTimezone(String)instead.Whether to use UTC time for axis scaling, tickmark placement and time display inHighcharts.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
-