javascript - Chart.js - setting tooltip z-index -


http://jsfiddle.net/gmannib/j2mwpj43/7/

^ see sample fiddle above. notice how tooltips piechart go underneath "earth" icon have in middle there? there way set z-index property of tooltips above earth icon? thought work?

race.tooltip.style.zindex = "5"; 

i'm still learning...thank kind help!

just give higher z-index value canvas , done. see demo.

css code

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

Comments

Popular posts from this blog

javascript - Unusual behaviour when drawing lots of images onto a large canvas -

how can i manage url using .htaccess in php? -