Remove Export and print button plugin on highchart chart

后端 未结 4 1956
温柔的废话
温柔的废话 2021-02-04 01:47

I am using MVC and currently working with highchart

I am using the Exporting.js so users can print or export the highchart chart. I have two charts in a view and I would

4条回答
  •  悲&欢浪女
    2021-02-04 02:11

    You can disable both the buttons (i.e. the whole exporting section) simulataneously by,

    exporting: {
             enabled: false
    }
    

    You can also disable any one or both of them like this,

    exporting: {
        buttons: { 
            exportButton: {
                enabled:false
            },
            printButton: {
                enabled:false
            }
    
        }
    }
    

提交回复
热议问题