我使用highchart一切正常,除了无法单击图表打印按钮,以下是我的highchart实现和引用图像。有任何想法,线索,建议,建议或帮助吗?

$('#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

发行引用图片

最佳答案

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

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

10-07 17:31