keen/keen-dataviz.js

ability to download results

grain209 opened this issue · 1 comments

Similar functionality to the one from the Explorer's table view.
Add ability to display a "download" button under a chart.
3 download methods:

Configuration:

new KeenDataviz({
  [...] // some other options
  ui: {
    buttons: {
      download: {
        label: 'Download as a CSV file', // optinal - by default it's just "Download"
        type: 'csv',  // optional - by default it's JSON
        position: 'bottom' // optional, to be discussed
      }
    }
  }
})

released in v.3.10.0