This is the constructor for creating a new chart object.
As Highcharts.Chart
, but without need for the new
keyword.
As Highcharts.Chart
, but without need for the new
keyword.
4.2.0
An array containing the current chart objects in the page.
An array containing the current chart objects in the page. A chart's position in the array is preserved throughout the page's lifetime. When a chart is destroyed, the array item becomes undefined
.
2.3.4
Formats a JavaScript date timestamp (milliseconds since Jan 1st 1970) into a human readable date string.
Formats a JavaScript date timestamp (milliseconds since Jan 1st 1970) into a human readable date string. The format is a subset of the formats for PHP's strftime function. Additional formats can be given in the Highcharts.dateFormats hook, see below.
A string containing some of the formats above.
The JavaScript time to format.
Whether to capitalize words in the return string.
A hook for defining additional date format specifiers.
A hook for defining additional date format specifiers. New specifiers are defined as key-value pairs by using the specifier as key, and a function which takes the timestamp as value. This function returns the formatted portion of the date.
3.0
The error handler function.
The error handler function. By default is provides error messages for debugging, with links to the descriptions on Highcharts website. This function can be redefined to catch errors in client applications.
5.0.6
Formats a JavaScript number with grouped thousands, a fixed amount of decimals and an optional decimal point.
Formats a JavaScript number with grouped thousands, a fixed amount of decimals and an optional decimal point. It is a port of PHP's function with the same name. See PHP number_format for a full explanation of the parameters.
The raw number to format.
The desired number of decimals.
The decimal point. Defaults to "." or to the string specified globally in options.lang.decimalPoint.
The thousands separator. Defaults to " " or to the string specified globally in options.lang.thousandsSep.
Sets the options globally for all charts created after this has been called.
Sets the options globally for all charts created after this has been called. Takes an options JavaScript object structure as the argument. These options are merged with the default options and the result is returned.
The chart configuration object.
JavaScript name:
Highcharts