export default {
  standard: {
    credits: { enabled: false },
    chart: {
      spacingBottom: 20,
      style: {
        fontFamily: "'proxima', 'Helvetica', sans-serif' ",
        paddingTop: '20px'  // Make room for buttons
      }
    },
    exporting: {
      buttons: {
        contextButton: {
          symbol: null,
          text: 'Export',
          x: -20,
          y: -30,
          theme: {
            style: {
              color: '#039',
              textDecoration: 'underline'
            }
          }
        }
      }
    },
    title: ''
  }
}

@@ -293,24 +293,115 @@
 xtButton: %7B%0A
+          onclick: function () %7B%0A            this.exportChart(%7Btype: 'jpeg'%7D)%0A          %7D,%0A
           sy

Make export button only export jpegs