Skip to content

Commit

Permalink
Removing gridlines at zero
Browse files Browse the repository at this point in the history
Signed-off-by: Deepak Sharma <deepak.sharma1@droom.in>
  • Loading branch information
deepakdtu committed Jun 19, 2017
1 parent 1411c83 commit 13753be
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/fixtures/core.scale/label-offset-vertical-axes.json
Expand Up @@ -16,15 +16,17 @@
"display": false
},
"gridLines":{
"display": false
"display": false,
"drawBorder": false
}
}],
"yAxes": [{
"ticks": {
"labelOffset": 25
},
"gridLines":{
"display": false
"display": false,
"drawBorder": false
}
}]
}
Expand Down
41 changes: 41 additions & 0 deletions test/fixtures/core.scale/label-offset-vertical-axes.json~
@@ -0,0 +1,41 @@
{
"config": {
"type": "horizontalBar",
"data": {
"labels": ["\u25C0", "\u25A0", "\u25C6", "\u25CF"],
"datasets": [{
"data": [12, 19, 3, 5]
}]
},
"options": {
"legend": false,
"title": false,
"scales": {
"xAxes": [{
"ticks": {
"display": false
},
"gridLines":{
"display": false,
"drawBorder": false
}
}],
"yAxes": [{
"ticks": {
"labelOffset": 25
},
"gridLines":{
"display": false,
"drawBorder": false
}
}]
}
}
},
"options": {
"canvas": {
"height": 256,
"width": 512
}
}
}
Binary file modified test/fixtures/core.scale/label-offset-vertical-axes.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 13753be

Please sign in to comment.