Closed JulienMalcouronne closed 1 year ago
Hello,
I think there is an issue on charts of type 'donut', toolbar appears naturally when the type is set to 'bar'.
I used the example available in the doc: https://apexcharts.com/docs/options/chart/toolbar/
In a desperate manner, I did try to add it as well inside 'plotOptions', 'pie' & 'donut'.
Let me know if I can help in some extent, would be a pleasure to help you through this or If I forgot to add something in code.
chart: { type: 'donut', stacked: true, height: '100%', toolbar: { show: true, offsetX: 0, offsetY: 0, tools: { download: true, selection: true, zoom: true, zoomin: true, zoomout: true, pan: true, reset: true | '<img src="/static/icons/reset.png" width="20">', customIcons: [], }, export: { csv: { filename: undefined, columnDelimiter: ',', headerCategory: 'category', headerValue: 'value', dateFormatter(timestamp) { return new Date(timestamp).toDateString(); }, }, svg: { filename: undefined, }, png: { filename: undefined, }, }, autoSelected: 'zoom', }, },
Hello,
I think there is an issue on charts of type 'donut', toolbar appears naturally when the type is set to 'bar'.
I used the example available in the doc: https://apexcharts.com/docs/options/chart/toolbar/
In a desperate manner, I did try to add it as well inside 'plotOptions', 'pie' & 'donut'.
Let me know if I can help in some extent, would be a pleasure to help you through this or If I forgot to add something in code.
chart: { type: 'donut', stacked: true, height: '100%', toolbar: { show: true, offsetX: 0, offsetY: 0, tools: { download: true, selection: true, zoom: true, zoomin: true, zoomout: true, pan: true, reset: true | '<img src="/static/icons/reset.png" width="20">', customIcons: [], }, export: { csv: { filename: undefined, columnDelimiter: ',', headerCategory: 'category', headerValue: 'value', dateFormatter(timestamp) { return new Date(timestamp).toDateString(); }, }, svg: { filename: undefined, }, png: { filename: undefined, }, }, autoSelected: 'zoom', }, },