class Global extends Object
- Annotations
- @RawJSType() @ScalaJSDefined()
- Note
JavaScript name:
global
- Alphabetic
- By Inheritance
- Global
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Global()
Value Members
-
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
-
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
-
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
-
def
hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
-
def
isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
-
def
propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
-
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.
- Since
5.0.7
Example: -
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.
- Since
1.3.8
Example: -
def
toLocaleString(): String
- Definition Classes
- Object
-
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. -
def
valueOf(): Any
- Definition Classes
- Object