How to hide the y axis and x axis line and label in my bar chart for chart.js -


i new chart.js , want hide y axis , x axis line , label in chart. looked @ documentation , couldn't find option. has else encountered problem , have solution?

using showscale option better

var ctx = document.getelementbyid("linewithline").getcontext("2d"); new chart(ctx).line(data, {     showscale: false }); 

fiddle - http://jsfiddle.net/wb3kcunt/

this hides gridlines too. if want hide axes , labels , not grid lines, set scalefontcolor , scalelinecolor transparent color.


Comments

Popular posts from this blog

java - Solr query version issue: Invalid version or the data in not in 'javabin' format -

Hard vs. Soft Water: What's The Difference?

The Ten Most Livable Cities In The World