Carga
Carga
This commit is contained in:
337
static/lib/Highcharts-10.2.1/themes/brand-dark.src.js
Normal file
337
static/lib/Highcharts-10.2.1/themes/brand-dark.src.js
Normal file
@@ -0,0 +1,337 @@
|
||||
/**
|
||||
* @license Highcharts JS v10.2.1 (2022-08-29)
|
||||
*
|
||||
* (c) 2009-2021 Torstein Honsi
|
||||
*
|
||||
* 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/brand-dark', ['highcharts'], function (Highcharts) {
|
||||
factory(Highcharts);
|
||||
factory.Highcharts = Highcharts;
|
||||
return factory;
|
||||
});
|
||||
} else {
|
||||
factory(typeof Highcharts !== 'undefined' ? Highcharts : undefined);
|
||||
}
|
||||
}(function (Highcharts) {
|
||||
'use strict';
|
||||
var _modules = Highcharts ? Highcharts._modules : {};
|
||||
function _registerModule(obj, path, args, fn) {
|
||||
if (!obj.hasOwnProperty(path)) {
|
||||
obj[path] = fn.apply(null, args);
|
||||
|
||||
if (typeof CustomEvent === 'function') {
|
||||
window.dispatchEvent(
|
||||
new CustomEvent(
|
||||
'HighchartsModuleLoaded',
|
||||
{ detail: { path: path, module: obj[path] }
|
||||
})
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
_registerModule(_modules, 'Extensions/Themes/BrandDark.js', [_modules['Core/DefaultOptions.js'], _modules['Core/Utilities.js']], function (D, U) {
|
||||
/* *
|
||||
*
|
||||
* (c) 2010-2021 Highsoft AS
|
||||
*
|
||||
* Author: Nancy Dillon
|
||||
*
|
||||
* License: www.highcharts.com/license
|
||||
*
|
||||
* Dark theme based on Highcharts brand system
|
||||
*
|
||||
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
||||
*
|
||||
* */
|
||||
var setOptions = D.setOptions;
|
||||
var createElement = U.createElement;
|
||||
/* *
|
||||
*
|
||||
* Theme
|
||||
*
|
||||
* */
|
||||
var BrandDarkTheme;
|
||||
(function (BrandDarkTheme) {
|
||||
/* *
|
||||
*
|
||||
* Constants
|
||||
*
|
||||
* */
|
||||
BrandDarkTheme.options = {
|
||||
colors: ['#8087E8', '#A3EDBA', '#F19E53', '#6699A1',
|
||||
'#E1D369', '#87B4E7', '#DA6D85', '#BBBAC5'],
|
||||
chart: {
|
||||
backgroundColor: {
|
||||
linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
|
||||
stops: [
|
||||
[0, '#1f1836'],
|
||||
[1, '#45445d']
|
||||
]
|
||||
},
|
||||
style: {
|
||||
fontFamily: 'IBM Plex Sans, sans-serif'
|
||||
}
|
||||
},
|
||||
title: {
|
||||
style: {
|
||||
fontSize: '22px',
|
||||
fontWeight: '500',
|
||||
color: '#fff'
|
||||
}
|
||||
},
|
||||
subtitle: {
|
||||
style: {
|
||||
fontSize: '16px',
|
||||
fontWeight: '400',
|
||||
color: '#fff'
|
||||
}
|
||||
},
|
||||
credits: {
|
||||
style: {
|
||||
color: '#f0f0f0'
|
||||
}
|
||||
},
|
||||
caption: {
|
||||
style: {
|
||||
color: '#f0f0f0'
|
||||
}
|
||||
},
|
||||
tooltip: {
|
||||
borderWidth: 0,
|
||||
backgroundColor: '#f0f0f0',
|
||||
shadow: true
|
||||
},
|
||||
legend: {
|
||||
backgroundColor: 'transparent',
|
||||
itemStyle: {
|
||||
fontWeight: '400',
|
||||
fontSize: '12px',
|
||||
color: '#fff'
|
||||
},
|
||||
itemHoverStyle: {
|
||||
fontWeight: '700',
|
||||
color: '#fff'
|
||||
}
|
||||
},
|
||||
labels: {
|
||||
style: {
|
||||
color: '#707073'
|
||||
}
|
||||
},
|
||||
plotOptions: {
|
||||
series: {
|
||||
dataLabels: {
|
||||
color: '#46465C',
|
||||
style: {
|
||||
fontSize: '13px'
|
||||
}
|
||||
},
|
||||
marker: {
|
||||
lineColor: '#333'
|
||||
}
|
||||
},
|
||||
boxplot: {
|
||||
fillColor: '#505053'
|
||||
},
|
||||
candlestick: {
|
||||
lineColor: null,
|
||||
upColor: '#DA6D85',
|
||||
upLineColor: '#DA6D85'
|
||||
},
|
||||
errorbar: {
|
||||
color: 'white'
|
||||
},
|
||||
dumbbell: {
|
||||
lowColor: '#f0f0f0'
|
||||
},
|
||||
map: {
|
||||
borderColor: 'rgba(200, 200, 200, 1)',
|
||||
nullColor: '#78758C'
|
||||
}
|
||||
},
|
||||
drilldown: {
|
||||
activeAxisLabelStyle: {
|
||||
color: '#F0F0F3'
|
||||
},
|
||||
activeDataLabelStyle: {
|
||||
color: '#F0F0F3'
|
||||
},
|
||||
drillUpButton: {
|
||||
theme: {
|
||||
fill: '#fff'
|
||||
}
|
||||
}
|
||||
},
|
||||
xAxis: {
|
||||
gridLineColor: '#707073',
|
||||
labels: {
|
||||
style: {
|
||||
color: '#fff',
|
||||
fontSize: '12px'
|
||||
}
|
||||
},
|
||||
lineColor: '#707073',
|
||||
minorGridLineColor: '#505053',
|
||||
tickColor: '#707073',
|
||||
title: {
|
||||
style: {
|
||||
color: '#fff'
|
||||
}
|
||||
}
|
||||
},
|
||||
yAxis: {
|
||||
gridLineColor: '#707073',
|
||||
labels: {
|
||||
style: {
|
||||
color: '#fff',
|
||||
fontSize: '12px'
|
||||
}
|
||||
},
|
||||
lineColor: '#707073',
|
||||
minorGridLineColor: '#505053',
|
||||
tickColor: '#707073',
|
||||
tickWidth: 1,
|
||||
title: {
|
||||
style: {
|
||||
color: '#fff',
|
||||
fontWeight: '300'
|
||||
}
|
||||
}
|
||||
},
|
||||
mapNavigation: {
|
||||
enabled: true,
|
||||
buttonOptions: {
|
||||
theme: {
|
||||
fill: '#46465C',
|
||||
'stroke-width': 1,
|
||||
stroke: '#BBBAC5',
|
||||
r: 2,
|
||||
style: {
|
||||
color: '#fff'
|
||||
},
|
||||
states: {
|
||||
hover: {
|
||||
fill: '#000',
|
||||
'stroke-width': 1,
|
||||
stroke: '#f0f0f0',
|
||||
style: {
|
||||
color: '#fff'
|
||||
}
|
||||
},
|
||||
select: {
|
||||
fill: '#000',
|
||||
'stroke-width': 1,
|
||||
stroke: '#f0f0f0',
|
||||
style: {
|
||||
color: '#fff'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
verticalAlign: 'bottom'
|
||||
}
|
||||
},
|
||||
// scroll charts
|
||||
rangeSelector: {
|
||||
buttonTheme: {
|
||||
fill: '#46465C',
|
||||
stroke: '#BBBAC5',
|
||||
'stroke-width': 1,
|
||||
style: {
|
||||
color: '#fff'
|
||||
},
|
||||
states: {
|
||||
hover: {
|
||||
fill: '#1f1836',
|
||||
style: {
|
||||
color: '#fff'
|
||||
},
|
||||
'stroke-width': 1,
|
||||
stroke: 'white'
|
||||
},
|
||||
select: {
|
||||
fill: '#1f1836',
|
||||
style: {
|
||||
color: '#fff'
|
||||
},
|
||||
'stroke-width': 1,
|
||||
stroke: 'white'
|
||||
}
|
||||
}
|
||||
},
|
||||
inputBoxBorderColor: '#BBBAC5',
|
||||
inputStyle: {
|
||||
backgroundColor: '#2F2B38',
|
||||
color: '#fff'
|
||||
},
|
||||
labelStyle: {
|
||||
color: '#fff'
|
||||
}
|
||||
},
|
||||
navigator: {
|
||||
handles: {
|
||||
backgroundColor: '#BBBAC5',
|
||||
borderColor: '#2F2B38'
|
||||
},
|
||||
outlineColor: '#CCC',
|
||||
maskFill: 'rgba(255,255,255,0.1)',
|
||||
series: {
|
||||
color: '#A3EDBA',
|
||||
lineColor: '#A3EDBA'
|
||||
},
|
||||
xAxis: {
|
||||
gridLineColor: '#505053'
|
||||
}
|
||||
},
|
||||
scrollbar: {
|
||||
barBackgroundColor: '#BBBAC5',
|
||||
barBorderColor: '#808083',
|
||||
buttonArrowColor: '#2F2B38',
|
||||
buttonBackgroundColor: '#BBBAC5',
|
||||
buttonBorderColor: '#2F2B38',
|
||||
rifleColor: '#2F2B38',
|
||||
trackBackgroundColor: '#78758C',
|
||||
trackBorderColor: '#2F2B38'
|
||||
}
|
||||
};
|
||||
/* *
|
||||
*
|
||||
* Functions
|
||||
*
|
||||
* */
|
||||
/**
|
||||
* Apply the theme.
|
||||
*/
|
||||
function apply() {
|
||||
// Load the fonts
|
||||
createElement('link', {
|
||||
href: 'https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:200,300,400,600,700',
|
||||
rel: 'stylesheet',
|
||||
type: 'text/css'
|
||||
}, null, document.getElementsByTagName('head')[0]);
|
||||
// Apply the theme
|
||||
setOptions(BrandDarkTheme.options);
|
||||
}
|
||||
BrandDarkTheme.apply = apply;
|
||||
})(BrandDarkTheme || (BrandDarkTheme = {}));
|
||||
/* *
|
||||
*
|
||||
* Default Export
|
||||
*
|
||||
* */
|
||||
|
||||
return BrandDarkTheme;
|
||||
});
|
||||
_registerModule(_modules, 'masters/themes/brand-dark.src.js', [_modules['Core/Globals.js'], _modules['Extensions/Themes/BrandDark.js']], function (H, BrandDark) {
|
||||
|
||||
H.theme = BrandDark.options;
|
||||
BrandDark.apply();
|
||||
|
||||
});
|
||||
}));
|
||||
Reference in New Issue
Block a user