Show the download menu / hamburger icon in the toolbar. If you want to display a custom icon instead of hamburger icon, you can provide HTML string in this property.
download: true
/* OR */
download: '<img src="/static/icons/download.png" class="ico-download" width="20">'
ApexCharts has built-in support to allow exporting the chart to popular image formats like PNG or SVG and also allows exporting the chart data to a CSV file.
By default, all XY charts have the toolbar enabled in them which has a hamburger icon at the top right corner.
Clicking the hamburger icon opens a menu which has following options to download
- Export to SVG
- Export to PNG
- Export to CSV creates a comma separated values file, which consists of chart data.