Highcharts highstock奇怪行为滚动条
我用highstock制作了一个图表,其中包含启用的滚动条,但当我将鼠标聚焦在它上时,它会发生一种奇怪的行为:图表向下并覆盖滚动条。 我使用的选项有:Highcharts highstock奇怪行为滚动条,highcharts,scrollbar,highstock,Highcharts,Scrollbar,Highstock,我用highstock制作了一个图表,其中包含启用的滚动条,但当我将鼠标聚焦在它上时,它会发生一种奇怪的行为:图表向下并覆盖滚动条。 我使用的选项有: var options = { chart: { title: { text: '' }, renderTo: 'containerGrafico' }, yAxis: {
var options = {
chart: {
title: {
text: ''
},
renderTo: 'containerGrafico'
},
yAxis: {
title: '',
tickPixelInterval: 30,
labels: {
formatter: function () {
return '€ ' + Highcharts.numberFormat(this.value, 0);
}
}
},
xAxis: {
categories: seriesMesi,
labels: {
formatter: function () {
return arrayMesi[this.value.substring(4, 6)] + " " + this.value.substring(0, 4);
}
},
max: 6
},
scrollbar: {
enabled: true,
barBackgroundColor: 'transparent',
barBorderRadius: 7,
barBorderWidth: 0,
buttonBackgroundColor: 'gray',
buttonBorderWidth: 0,
buttonArrowColor: 'yellow',
buttonBorderRadius: 7,
rifleColor: 'transparent',
trackBackgroundColor: 'white',
trackBorderWidth: 1,
trackBorderColor: 'silver',
trackBorderRadius: 7
},
series: [
{
name: 'Totale Versato',
color: '#96B7D8',
type: 'column'
},
{
name: 'Prelievi',
color: '#D1D1D1',
type: 'column'
}]
};
谁能告诉我哪里错了?
非常感谢你
Cinzia通常,不支持Highstock分类轴 无论如何,对我来说,它工作正常,请参见: 尝试更新到最新(
1.3.10
)版本并删除类别。或者使用具有分类轴的高度图表
如果以上任何一项都无助于在JSFIDLE上重新创建问题