highcharts
Version:
JavaScript charting framework
71 lines (68 loc) • 2.15 kB
JavaScript
/**
* @license Highcharts JS v9.0.1 (2021-02-16)
*
* (c) 2009-2021 Highsoft AS
*
* License: www.highcharts.com/license
*/
;
(function (factory) {
if (typeof module === 'object' && module.exports) {
factory['default'] = factory;
module.exports = factory;
} else if (typeof define === 'function' && define.amd) {
define('highcharts/themes/sunset', ['highcharts'], function (Highcharts) {
factory(Highcharts);
factory.Highcharts = Highcharts;
return factory;
});
} else {
factory(typeof Highcharts !== 'undefined' ? Highcharts : undefined);
}
}(function (Highcharts) {
var _modules = Highcharts ? Highcharts._modules : {};
function _registerModule(obj, path, args, fn) {
if (!obj.hasOwnProperty(path)) {
obj[path] = fn.apply(null, args);
}
}
_registerModule(_modules, 'Extensions/Themes/Sunset.js', [_modules['Core/Globals.js'], _modules['Core/Utilities.js']], function (H, U) {
/* *
*
* (c) 2010-2021 Highsoft AS
*
* Author: Øystein Moseng
*
* License: www.highcharts.com/license
*
* Accessible high-contrast theme for Highcharts. Considers colorblindness and
* monochrome rendering.
*
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
*
* */
var setOptions = U.setOptions;
H.theme = {
colors: ['#FDD089', '#FF7F79', '#A0446E', '#251535'],
colorAxis: {
maxColor: '#60042E',
minColor: '#FDD089'
},
plotOptions: {
map: {
nullColor: '#fefefc'
}
},
navigator: {
series: {
color: '#FF7F79',
lineColor: '#A0446E'
}
}
};
// Apply the theme
setOptions(H.theme);
});
_registerModule(_modules, 'masters/themes/sunset.src.js', [], function () {
});
}));