문제

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!

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top