%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/11585/root/var/www/html/ppaobm/backend/web/assets/16c36a2e/es-modules/modules/ |
Upload File : |
/* * * * (c) 2010-2019 Torstein Honsi * * License: www.highcharts.com/license * * */ 'use strict'; import H from '../parts/Globals.js'; var addEvent = H.addEvent, isNumber = H.isNumber, setOptions = H.setOptions, each = H.each; setOptions({ /** * @optionparent chart */ chart: { /** * Whether to display errors on the chart. When `false`, the errors will * be shown only in the console. * * Requires `debugger.js` module. * * @sample highcharts/chart/display-errors/ * Show errors on chart * * @since 7.0.0 */ displayErrors: true } }); addEvent(H.Chart, 'displayError', function (e) { var chart = this, code = e.code, msg, options = chart.options.chart, renderer = chart.renderer, chartWidth, chartHeight; if (chart.errorElements) { each(chart.errorElements, function (el) { if (el) { el.destroy(); } }); } if (options && options.displayErrors) { chart.errorElements = []; msg = isNumber(code) ? 'Highcharts error #' + code + ': ' + H.errorMessages[code].title + H.errorMessages[code].text : code; chartWidth = chart.chartWidth; chartHeight = chart.chartHeight; // Render red chart frame. chart.errorElements[0] = renderer.rect( 2, 2, chartWidth - 4, chartHeight - 4 ).attr({ 'stroke-width': 4, stroke: '#ff0000', zIndex: 3 }).add(); // Render error message. chart.errorElements[1] = renderer.label( msg, 0, 0, 'rect', null, null, true ).css({ color: '#ffffff', width: chartWidth - 16, padding: 0 }).attr({ fill: '#ff0000', width: chartWidth, padding: 8, zIndex: 10 }).add(); chart.errorElements[1].attr({ y: chartHeight - this.errorElements[1].getBBox().height }); } }); addEvent(H.Chart, 'beforeRedraw', function () { var errorElements = this.errorElements; if (errorElements && errorElements.length) { each(errorElements, function (el) { el.destroy(); }); } this.errorElements = null; });