package.es-modules.Extensions.Themes.Avocado.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of highcharts Show documentation
Show all versions of highcharts Show documentation
JavaScript charting framework
The newest version!
/* *
*
* (c) 2010-2024 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. !!!!!!!
*
* */
'use strict';
import D from '../../Core/Defaults.js';
const { setOptions } = D;
/* *
*
* Theme
*
* */
var AvocadoTheme;
(function (AvocadoTheme) {
/* *
*
* Constants
*
* */
AvocadoTheme.options = {
colors: ['#F3E796', '#95C471', '#35729E', '#251735'],
colorAxis: {
maxColor: '#05426E',
minColor: '#F3E796'
},
plotOptions: {
map: {
nullColor: '#FCFEFE'
}
},
navigator: {
maskFill: 'rgba(170, 205, 170, 0.5)',
series: {
color: '#95C471',
lineColor: '#35729E'
}
}
};
/* *
*
* Functions
*
* */
/**
* Apply the theme.
*/
function apply() {
setOptions(AvocadoTheme.options);
}
AvocadoTheme.apply = apply;
})(AvocadoTheme || (AvocadoTheme = {}));
/* *
*
* Default Export
*
* */
export default AvocadoTheme;