user3908735 user3908735 - 2 months ago 63
Javascript Question

Chart.js - setting tooltip z-index

^ See the sample fiddle above. Notice how the tooltips for the piechart go underneath the "earth" icon I have in the middle there? Is there a way to set the z-index property of the tooltips to be above the earth icon? I thought this would work? = "5";

I'm still learning...thank you for your kind help!


just give higher z-index value to your canvas and you are done. See DEMO.

CSS Code

canvas#race{position:relative; z-index:1;}