Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use toBase64Image(); #60

Open
dfuentes141 opened this issue Dec 1, 2017 · 2 comments
Open

Use toBase64Image(); #60

dfuentes141 opened this issue Dec 1, 2017 · 2 comments

Comments

@dfuentes141
Copy link

How can i use toBase64Image on the chart?

@ronssij
Copy link

ronssij commented Apr 30, 2018

Hope this Question will have an answer.
Not displaying on my end. using laravel/dompdf

@carbontwelve
Copy link

chart.js has a tobase64image method; to support that you would need to overload the render method in Builder.php to use your own version of chart-template.blade.php within which you could adjust the generated js to replace the ctx dom element with an image that has its src set to the return of tobase64image.

Support for this could be added to laravel-chartjs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants