Highcharts 导出的绘制图表与highchart中的原始图表的不同设置

Highcharts 导出的绘制图表与highchart中的原始图表的不同设置,highcharts,export,Highcharts,Export,我使用Highchart在我的页面中绘制了一些图表。我正在为我的图表设置一些属性。我看到,对于下载和保存某种类型的图表,Highchart用于导出。但保存的图表的属性与原始图表不同。 例如,我的原始图表如下所示: 我的代码是: Highcharts.setOptions({ colors: color_items_array, locale: getPersianLocal()}); var chart; $(document).ready(function() { chart =

我使用Highchart在我的页面中绘制了一些图表。我正在为我的图表设置一些属性。我看到,对于下载和保存某种类型的图表,Highchart用于导出。但保存的图表的属性与原始图表不同。 例如,我的原始图表如下所示:

我的代码是:

Highcharts.setOptions({ colors: color_items_array, locale: getPersianLocal()});
var chart;

$(document).ready(function() {

    chart = new Highcharts.Chart({
        exporting: {
            allowHTML:true ,
            chartOptions: {
                xAxis: {

                    labels: {
                        align: 'top',
                    }
                },
            },
            buttons: {
                contextButton: {
                    menuItems: [{
                        textKey: 'printChart',
                        onclick: function () {
                            this.print();
                        }
                    }, {
                        separator: true
                    }, {
                        textKey: 'downloadPNG',
                        onclick: function () {
                            this.exportChart();
                        }
                    }, {
                        textKey: 'downloadJPEG',
                        onclick: function () {
                            this.exportChart({
                                type: 'image/jpeg'
                            });
                        }
                    }, {
                        textKey: 'downloadPDF',
                        onclick: function () {
                            this.exportChart({
                                type: 'application/pdf'
                            });
                        }
                    }, {
                        textKey: 'downloadSVG',
                        onclick: function () {
                            this.exportChart({
                                type: 'image/svg+xml'
                            });
                        }
                    }, {
                        separator: true
                    },{
                        text: 'Clinet side export to PNG',
                        onclick: function () {
                            this.exportChartLocal();
                        }
                    }, {
                        text: 'Clinet side export to SVG',
                        onclick: function () {
                            this.exportChartLocal({
                                type: 'image/svg+xml'
                            });
                        }
                    }]
                }
            }
        },
        chart: {
            renderTo: conta,
            type: type,
            marginRight: 130,
            marginBottom: 120
        },
        title: {
            text: X_title,
            x: -20 //center
        },
        subtitle: {
            text: '',
            x: -20
        },
        // plotOptions: {
        //  column: {
        //    minPointLength: 20
        // }
        //},
        xAxis: {
            min:0,
            max:maxVariable,
            labels: {
                //rotation: rotlab,
                align: 'top',
                // align: 'center',
                autoRotation: [-45],
                autoRotationLimit: 100
            },
            categories: xAxisLabel
        },

        yAxis: yAxisVariale,

        plotOptions: {
            series: {
                dataLabels: {
                    enabled: dataLabelvariable,
                    //  y: -5,
                    inside:false,
                    crop :false,
                    overflow :'none',
                    style: {
                        fontWeight: 'bold'
                    },
                    formatter: function() {
                        return Highcharts.localizationNumber(this.y);
                    },
                    useHTML: true
                }
            }
        },

        tooltip: {
            crosshairs: [true, true],
            shared: true,
            useHTML: true,
            formatter: function() {

                var s = [];

                s.push('<table><tr><td style="text-align:right;" colspan="3"><b>' +
                    this.x + '</b></td></tr>');


                $.each(this.points, function(i, point) {

                    s.push('<tr><td style="text-align: right;">'+
                        '<b><span style="color:'+point.series.color +'">\u25CF</span></b>'+
                        '</td>'+
                        '<td style="text-align: right;"><b>'+point.series.name +' : </b></td>'+
                        '<td><b>' + Highcharts.localizationNumber(point.y)+'</b></td>'+
                        '</tr>');
                });

                s.push('<tr><td style="text-align:right;" colspan="3"><b>تعداد خبر : ' +
                    Highcharts.localizationNumber(this.points[0].point.NumberNews) + '</b></td></tr></table>');
                return s.join('');
            }
        },
        legend: {
            labelFormatter: function() {
                return '<b>'+this.name+'</b>';
            },
            borderWidth: 1,
            useHTML: true,
            borderColor: '#C98657',
            backgroundColor: '#FCFFC5'
        },
        series: seris_column2,

        scrollbar: {
            enabled: scrbal,
            barBackgroundColor: 'gray',
            barBorderRadius: 7,
            barBorderWidth: 0,
            buttonBackgroundColor: 'gray',
            buttonBorderWidth: 0,
            buttonArrowColor: 'yellow',
            buttonBorderRadius: 7,
            rifleColor: 'yellow',
            trackBackgroundColor: 'white',
            trackBorderWidth: 1,
            trackBorderColor: 'silver',
            trackBorderRadius: 7
        }


    });
});
但是没有改变任何事情

我该怎么办


谢谢

尝试添加此选项:
导出:{scale:1}
无任何更改..:(您是否在加载图表后修改任何可能与此相关的内容?此类更改不会在导出中生效。请尝试添加此选项:
导出:{scale:1}
不更改任何内容。)(您是否在加载图表后修改任何可能与此相关的内容?此类更改不会在导出中生效。
exporting: {
        allowHTML:true ,
        chartOptions: {
            xAxis: {

                labels: {
                    align: 'top',
                }
            },
        }