DEV Community

Discussion on: Use Laravel charts in Laravel.

sammymwangangi profile image
Sammy Mwangangi

Is there a way to use icon as Label inside setLabel()? For example:

arielmejiadev profile image
Ariel Mejia Author

As I see the apexchartsjs library that is the one that built the charts behind the scene, does not provide a way to do it, but you can use some css to add styles to an image tag to make it absolute inside a div tag wrapper relative and place the icon where you want.