ChartJs.Blazor icon indicating copy to clipboard operation
ChartJs.Blazor copied to clipboard

[Feature request] Get the Base64 representation of any chart.

Open arivera12 opened this issue 4 years ago • 0 comments

Describe the feature request

Get the base64 representation of the any chart.

The idea is having the alternative to embed the graphics anywhere else as an inline image like inside a pdf or another html document.

Which charts does this feature request apply to?

All charts

Describe the solution you'd like

Get the base64 representation of the any chart.

JavaScript equivalent

https://jsfiddle.net/wfybmq6g/16/

ChartJs Api .toBase64Image()

https://www.chartjs.org/docs/latest/developers/api.html

Describe alternatives you've considered

I found a fiddle with the solution but need the interop with blazor

Additional context

image

arivera12 avatar Mar 25 '21 23:03 arivera12