Question

I've got a requirement to install people's faces on the Y-Axis of a bar chart. Is it possible to install a custom image in place of the axis label? Ideally the solution would enable border-radius, border-style, and image URL properties.

Bonus points if you can point me towards documentation for enabling image-axis-label click & mouseover events!

Was it helpful?

Solution

There is an example of using images as labels here:

https://www.rgraph.net/demos/bar-images-as-labels.html

But keep in mind that they're not DOM objects - ie you can't style them with CSS on add mouseover events to them (at least not in the standard way). You could add a mouseover using RGraph though.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top