Skip to content

Commit

Permalink
Highchart upgrade to 11.4
Browse files Browse the repository at this point in the history
  • Loading branch information
wakr70 committed Apr 2, 2024
1 parent 53f6f5f commit 46d1434
Show file tree
Hide file tree
Showing 68 changed files with 19,153 additions and 20,020 deletions.
8 changes: 4 additions & 4 deletions h2-highchart/exporting.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion h2-highchart/exporting.js.map

Large diffs are not rendered by default.

182 changes: 98 additions & 84 deletions h2-highchart/exporting.src.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions h2-highchart/highcharts-more.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion h2-highchart/highcharts-more.js.map

Large diffs are not rendered by default.

1,444 changes: 654 additions & 790 deletions h2-highchart/highcharts-more.src.js

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions h2-highchart/highstock.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion h2-highchart/highstock.js.map

Large diffs are not rendered by default.

28,183 changes: 13,855 additions & 14,328 deletions h2-highchart/highstock.src.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions h2-highchart/modules/boost.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion h2-highchart/modules/boost.js.map

Large diffs are not rendered by default.

444 changes: 294 additions & 150 deletions h2-highchart/modules/boost.src.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions h2-highchart/modules/debugger.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion h2-highchart/modules/debugger.js.map

Large diffs are not rendered by default.

29 changes: 15 additions & 14 deletions h2-highchart/modules/debugger.src.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**
* @license Highcharts JS v11.2.0 (2023-10-30)
* @license Highcharts JS v11.4.0 (2024-03-04)
*
* Debugger module
*
* (c) 2012-2021 Torstein Honsi
* (c) 2012-2024 Torstein Honsi
*
* License: www.highcharts.com/license
*/
Expand Down Expand Up @@ -48,8 +48,8 @@
const errorMessages = {
"10": {
"title": "Can't plot zero or subzero values on a logarithmic axis",
"text": "<h1>Can't plot zero or subzero values on a logarithmic axis</h1><p>This error occurs in the following situations: </p><ul><li>If a zero or subzero data value is added to a logarithmic axis</li><li>If the minimum of a logarithimic axis is set to 0 or less</li><li>If the threshold is set to 0 or less</li></ul><p>Note: As of Highcharts 5.0.8 it's possible to bypass this error message by setting <code>Axis.prototype.allowNegativeLog</code> to true, and add custom conversion functions. <a href=\"https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/yaxis/type-log-negative/\">View live demo</a>. It is also possible to use a similar workaround for colorAxis. <a href=\"https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/coloraxis/logarithmic-with-emulate-negative-values/\">View live demo</a>.</p>",
"enduser": "<h1>Can't plot zero or subzero values on a logarithmic axis</h1><p>This error occurs in the following situations:</p><ul><li>If a zero or subzero data value is added to a logarithmic axis</li><li>If the minimum of a logarithimic axis is set to 0 or less</li><li>If the threshold is set to 0 or less</li></ul><p>As of Highcharts 5.0.8 it's possible to bypass this error message by setting <code>Axis.prototype.allowNegativeLog</code> to <code>true</code> and add custom conversion functions. <a href=\"http://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/yaxis/type-log-negative/\">\">View Live Demo</a>. It is also possible to use a similar workaround for colorAxis. <a href=\"https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/coloraxis/logarithmic-with-emulate-negative-values/\">View live demo</a>.</p>"
"text": "<h1>Can't plot zero or subzero values on a logarithmic axis</h1><p>This error occurs in the following situations: </p><ul><li>If a zero or subzero data value is added to a logarithmic axis</li><li>If the minimum of a logarithmic axis is set to 0 or less</li><li>If the threshold is set to 0 or less</li></ul><p>Note: As of Highcharts 5.0.8 it's possible to bypass this error message by setting <code>Axis.prototype.allowNegativeLog</code> to true, and add custom conversion functions. <a href=\"https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/yaxis/type-log-negative/\">View live demo</a>. It is also possible to use a similar workaround for colorAxis. <a href=\"https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/coloraxis/logarithmic-with-emulate-negative-values/\">View live demo</a>.</p>",
"enduser": "<h1>Can't plot zero or subzero values on a logarithmic axis</h1><p>This error occurs in the following situations:</p><ul><li>If a zero or subzero data value is added to a logarithmic axis</li><li>If the minimum of a logarithmic axis is set to 0 or less</li><li>If the threshold is set to 0 or less</li></ul><p>As of Highcharts 5.0.8 it's possible to bypass this error message by setting <code>Axis.prototype.allowNegativeLog</code> to <code>true</code> and add custom conversion functions. <a href=\"http://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/yaxis/type-log-negative/\">\">View Live Demo</a>. It is also possible to use a similar workaround for colorAxis. <a href=\"https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/coloraxis/logarithmic-with-emulate-negative-values/\">View live demo</a>.</p>"
},
"11": {
"title": "Can't link axes of different type",
Expand Down Expand Up @@ -138,29 +138,33 @@
"33": {
"title": "Invalid attribute or tagName",
"text": "<h1>Invalid attribute or tagName</h1><p>This error occurs if HTML in the chart configuration contains unknown tag names or attributes. Unknown tag names or attributes are those not present in the _allow lists_.</p><p>To fix the error, consider</p><ul><li>Is your tag name or attribute spelled correctly? For example, <code>lineargradient</code></li></ul><p> would be blocked as it is a misspelling for <code>linearGradient</code>.</p><ul><li>Is it allowed in Highcharts? For example, <code>onclick</code> attributes are blocked as</li></ul><p> they pose a real security threat.</p><p>This error occurs because attributes and tag names are sanitized of potentially harmful content from the chart configuration before being added to the DOM. Consult the <a href=\"https://www.highcharts.com/docs/chart-concepts/security\">security documentation</a> for more information.</p>"
},
"34": {
"title": "Unknown time zone",
"text": "<h1>Unknown time zone</h1><p>This error occurs if the browser doesn't recognize the <a href=\"https://api.highcharts.com/highcharts/time.timezone\">timezone</a> option. Possible workarounds are to use a time zone definition that all browsers recognize, or create your own <a href=\"https://api.highcharts.com/highcharts/time.getTimezoneOffset\">getTimezoneOffset</a> callback.</p>"
}
};

return errorMessages;
});
_registerModule(_modules, 'Extensions/Debugger/Debugger.js', [_modules['Extensions/Debugger/ErrorMessages.js'], _modules['Core/Globals.js'], _modules['Core/Defaults.js'], _modules['Core/Utilities.js']], function (ErrorMessages, H, D, U) {
_registerModule(_modules, 'Extensions/Debugger/Debugger.js', [_modules['Core/Defaults.js'], _modules['Extensions/Debugger/ErrorMessages.js'], _modules['Core/Globals.js'], _modules['Core/Utilities.js']], function (D, ErrorMessages, H, U) {
/* *
*
* (c) 2010-2021 Torstein Honsi
* (c) 2010-2024 Torstein Honsi
*
* License: www.highcharts.com/license
*
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
*
* */
const { setOptions } = D;
const { addEvent, find, isNumber } = U;
const { composed } = H;
const { addEvent, find, isNumber, pushUnique } = U;
/* *
*
* Constants
*
* */
const composedMembers = [];
const defaultOptions = {
/**
* @optionparent chart
Expand Down Expand Up @@ -188,13 +192,9 @@
* @private
*/
function compose(ChartClass) {
if (U.pushUnique(composedMembers, ChartClass)) {
if (pushUnique(composed, 'Debugger')) {
addEvent(ChartClass, 'beforeRedraw', onChartBeforeRedraw);
}
if (U.pushUnique(composedMembers, H)) {
addEvent(H, 'displayError', onHighchartsDisplayError);
}
if (U.pushUnique(composedMembers, setOptions)) {
setOptions(defaultOptions);
}
}
Expand Down Expand Up @@ -279,8 +279,9 @@
_registerModule(_modules, 'masters/modules/debugger.src.js', [_modules['Core/Globals.js'], _modules['Extensions/Debugger/Debugger.js'], _modules['Extensions/Debugger/ErrorMessages.js']], function (Highcharts, Debugger, ErrorMessages) {

const G = Highcharts;
G.errorMessages = ErrorMessages;
G.errorMessages = G.errorMessages || ErrorMessages;
Debugger.compose(G.Chart);

return Highcharts;
});
}));
8 changes: 4 additions & 4 deletions h2-highchart/modules/export-data.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion h2-highchart/modules/export-data.js.map

Large diffs are not rendered by default.

0 comments on commit 46d1434

Please sign in to comment.