Is there some way to only show the PNG option in exporting.csv?

Viewed 28
2 Answers

Yes, you need to ommit the other options on your config file, like that:

exporting: {
    buttons: {
      contextButton: {
        menuItems: [
          'downloadPNG'
        ]
      }
    },

Default exporting config is like that:

exporting: {
    buttons: {
      contextButton: {
        menuItems: [
          'viewFullscreen', 'separator', 'downloadPNG',
          'downloadSVG', 'downloadPDF', 'separator', 'downloadXLS'
        ]
      }
    },
Related