I’d like to know if there’s an alternative to 1.0’s { scaleShowVerticalLines: false }
.
I need to hide the vertical grid lines but not the labels. I’ve tried scales.xAxes.display: false
with no success.
2 thoughts on “Hide Vertical Grid Lines”
Comments are closed.
@lucasengel you’re close, the following will do it:
Some additional details are in the Grid Lines section in http://www.chartjs.org/docs/#scales-common-configuration
You should use
gridLines.display
now instead ofgridLines.drawOnChartArea