@highcharts/dashboards
Version:
Highcharts Dashboards framework
102 lines (101 loc) • 2.19 kB
JavaScript
/* *
*
* (c) 2009-2024 Highsoft AS
*
* License: www.highcharts.com/license
*
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
*
* Authors:
* - Sophie Bremer
*
* */
'use strict';
import Component from '../Components/Component.js';
/* *
*
* Constants
*
* */
const NavigatorComponentDefaults = {
type: 'Navigator',
chartOptions: {
chart: {
animation: false,
height: 200,
styledMode: true,
type: 'column',
zooming: {
mouseWheel: {
enabled: false
}
}
},
credits: {
enabled: false
},
legend: {
enabled: false
},
navigator: {
enabled: true,
outlineWidth: 0,
series: {
animation: false,
lineWidth: 0
},
xAxis: {
endOnTick: true,
gridZIndex: 4,
labels: {
x: 1,
y: 22
},
opposite: true,
showFirstLabel: true,
showLastLabel: true,
startOnTick: true,
tickPosition: 'inside'
},
yAxis: {
maxPadding: 0.5
}
},
plotOptions: {
series: {
borderRadius: 0,
marker: {
enabled: false
},
states: {
hover: {
enabled: false
}
}
}
},
scrollbar: {
enabled: true
},
title: {
text: ''
},
tooltip: {
enabled: false
},
xAxis: {
visible: false,
minRange: Number.MIN_VALUE
},
yAxis: {
visible: false
}
},
editableOptions: (Component.defaultOptions.editableOptions || []).concat()
};
/* *
*
* Default Export
*
* */
export default NavigatorComponentDefaults;