Skip to content

Commit

Permalink
Merge pull request #240 from spadgett/disable-pan
Browse files Browse the repository at this point in the history
Set fixedrange on line charts
  • Loading branch information
spadgett authored Jul 17, 2018
2 parents a717b0c + 3c8f40e commit e292038
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/public/components/graphs/line.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,14 @@ export class Line extends BaseGraph {
zeroline: false,
ticks: '',
showline: false,
fixedrange: true,
},
xaxis: {
zeroline: false,
tickformat:'%H:%M',
ticks: '',
showline: false,
fixedrange: true,
},
legend: {
x: 0, y: 1,
Expand Down

0 comments on commit e292038

Please sign in to comment.