Packages

class Global extends Object

Annotations
@RawJSType() @ScalaJSDefined()
Note

JavaScript name: global

Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Global
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Global()

Value Members

  1. val Date: UndefOr[Object]

    A custom Date class for advanced date handling.

    A custom Date class for advanced date handling. For example, JDate can be hooked in to handle Jalali dates.

    Since

    2.0.4

  2. val VMLRadialGradientURL: UndefOr[String]

    Path to the pattern image required by VML browsers in order to draw radial gradients.

    Path to the pattern image required by VML browsers in order to draw radial gradients.

    Since

    1.2.0

  3. val getTimezoneOffset: UndefOr[Function]

    A callback to return the time zone offset for a given datetime.

    A callback to return the time zone offset for a given datetime. It takes the timestamp in terms of milliseconds since January 1 1970, and returns the timezone offset in minutes. This provides a hook for drawing time based charts in specific time zones using their local DST crossover dates, with the help of external libraries.

    Since

    2.1.0

  4. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  5. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  6. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  7. val timezone: UndefOr[String]

    Requires moment.js.

    Requires moment.js. If the timezone option is specified, it creates a default getTimezoneOffset function that looks up the specified timezone in moment.js. If moment.js is not included, this throws a Highcharts error in the console, but does not crash the chart.

    Example:
    1. Europe/Oslo

    Since

    5.0.7

  8. val timezoneOffset: UndefOr[Double]

    The timezone offset in minutes.

    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.

    Example:
    1. Timezone offset

    Since

    1.3.8

  9. def toLocaleString(): String
    Definition Classes
    Object
  10. val useUTC: UndefOr[Boolean]

    Whether to use UTC time for axis scaling, tickmark placement and time display in Highcharts.dateFormat.

    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.

  11. def valueOf(): Any
    Definition Classes
    Object