javascript - How to remove the line/rule of an axis in Chart.js? -


i managed remove horizontale lines/rules in chart using this:

scales: {        xaxes: [{         gridlines: {             display: false         }       }] } 

but want rid of rule/bar represents y-axis well. but want keep labels:

enter image description here

unfortunately can't find option that. can remove whole axis including labels.

i'm using chart.js 2.3.

i found way remove line. it's called border of axis , there's option it, see "grid line configuration":

scales: {     yaxes: [{         gridlines: {             drawborder: false,         }     }] } 

Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -