gpt4 book ai didi

javascript - highcharts 打印图表/图表上下文菜单不可点击

转载 作者:数据小太阳 更新时间:2023-10-29 05:29:30 24 4
gpt4 key购买 nike

我使用 highchart一切正常,除了图表打印按钮不可点击,下面是我的 Highcharts 实现和引用图像。有什么想法、线索、建议、推荐、帮助吗?

$('#chart_portfolio').highcharts({
chart: {
borderColor: '#ff0000',
width: null,
height: null
},
title: {
text: false,
x: -20 //center
},
xAxis: {
categories: portfolio_creation_date
},
yAxis: {
title: {
text: false
},
plotLines: [{
value: 0,
width: 1,
color: '#ff0000'
}]
},
tooltip: {
shared: true,
crosshairs: true
},
series: [{
name: 'Future',
data: portfolio_future,
color: '#0f00ff'
}, {
name: 'In Grace Period',
data: portfolio_ingrace_period,
color: '#fda800'
}, {
name: 'Arrears',
data: portfolio_in_arrears,
color: '#f40404'
}, {
name: 'Good standing',
data: portfolio_good_standing,
color: '#4da74d'
}]
}); //end of highcharts

发行引用图片

enter image description here

最佳答案

只需为该按钮设置更高的 zIndex:http://jsfiddle.net/9P5fC/488/

exporting: {
buttons: {
contextButton: {
theme: {
zIndex: 100
}
}
}
}

关于javascript - highcharts 打印图表/图表上下文菜单不可点击,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31180875/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com