Last active
June 14, 2019 18:51
-
-
Save typpo/ee3cb19ae5a50796188b0cc76d43edfb to your computer and use it in GitHub Desktop.
Chart.js without gridlines
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
type: 'bar', | |
data: { | |
labels: ['January', 'February', 'March', 'April', 'May'], | |
datasets: [{ | |
label: 'Dogs', | |
data: [ 50, 60, 70, 180, 190 ] | |
}, { | |
label: 'Cats', | |
data: [ 100, 200, 300, 400, 500 ] | |
}] | |
}, | |
options: { | |
scales: { | |
xAxes: [{gridLines: {display: false}}], | |
yAxes: [{gridLines: {display: false}}], | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment