UNPKG

polestar-ui-kit

Version:

## Install

162 lines (158 loc) 3.08 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.test = exports.defaultOptions = void 0; var _highcharts = _interopRequireDefault(require("highcharts")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } var defaultOptions = { credits: { enabled: false }, boost: { enabled: false }, chart: { zoomType: 'x', animation: true, spacingBottom: 20, spacingTop: 30, spacingLeft: 20, spacingRight: 30, resetZoomButton: { position: { align: 'right', x: -50, y: 0 }, relativeTo: 'chart' }, events: {} }, title: { text: '' }, subtitle: { text: '' }, legend: { enabled: false, layout: 'horizontal', align: 'top', verticalAlign: 'top', y: -27, x: -10, itemMarginTop: 0, itemMarginBottom: 5, symbolPadding: 2, symbolWidth: 10, itemStyle: { color: '#3E4454', fontWeight: 'normal', fontSize: '12' } }, xAxis: { tickInterval: null, events: { setExtremes: function setExtremes() {} } }, yAxis: { minRange: 1, title: { text: '' }, stackLabels: { enabled: false, style: { fontWeight: 'bold', color: _highcharts["default"].theme && _highcharts["default"].theme.textColor || 'gray' } } }, tooltip: { shared: true, crosshairs: { color: '#56c829', width: 1 }, useHTML: true, backgroundColor: { linearGradient: [0, 0, 0, 60], stops: [[0, '#FFFFFF'], [1, '#f3f3f3']] }, borderWidth: 1, borderColor: '#52b2ea' }, plotOptions: { column: { stacking: 'normal', dataLabels: { enabled: false, color: _highcharts["default"].theme && _highcharts["default"].theme.dataLabelsColor || 'white', style: { textShadow: '0 0 3px black' } }, pointPadding: 0.2, borderWidth: 0, states: { hover: { enabled: true } } }, area: { lineWidth: 1, marker: { enabled: false }, shadow: false, states: { hover: { lineWidth: 1 } }, enableMouseTracking: true, fillColor: { linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 }, stops: [[0, '#518bd3'], [1, _highcharts["default"].Color('#518bd3').setOpacity(0).get('rgba')]] } }, line: { lineWidth: 1, marker: { enabled: true, symbol: 'circle', radius: 0.5 } }, spline: { lineWidth: 1, marker: { enabled: true, symbol: 'circle', radius: 0.5 } }, arearange: { turboThreshold: 2000 }, series: { connectNulls: true, point: { events: {} }, turboThreshold: 3000 } } }; exports.defaultOptions = defaultOptions; var test = {}; exports.test = test;