Class Time

  • All Implemented Interfaces:
    Serializable

    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:
    Serialized Form
    • Constructor Detail

      • Time

        public Time()
    • Method Detail

      • 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

      • 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