Skip to content

Commit

Permalink
fix: added vertical grid. closes #54
Browse files Browse the repository at this point in the history
  • Loading branch information
builder555 committed Apr 2, 2023
1 parent 556d646 commit 0a3f07f
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions ui/src/components/TheGraphView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,16 @@ const options = {
x: {
min: 1,
max: pointsToDisplay-1,
display: false,
grid: {
borderDash: [8, 4],
lineWidth: 2,
display: true,
border: {
dash: [8, 4],
},
ticks: {
callback: function (value) {
return `${pointsToDisplay - value}s`;
},
maxTicksLimit: 20,
}
},
temperature: {
position: 'left',
Expand Down

0 comments on commit 0a3f07f

Please sign in to comment.