 <p>Your code is already working:</p> <p>for download as cvs add this code block:</p> <pre><code>Highcharts.getOptions().exporting.buttons.exportButton.menuItems.push({ text: 'Download CSV', onclick: function () { Highcharts.post('http://www.highcharts.com/studies/csv-export/csv.php', { csv: this.getCSV() }); } }); </code></pre> <p><a href="http://jsfiddle.net/gyf9y/1/" rel="nofollow">YOUR CODE DEMO</a></p>