Skip to content

Commit 8936f24

Browse files
committed
Change lineWidth and valueScale defaults
1 parent d000928 commit 8936f24

File tree

1 file changed

+3
-3
lines changed
  • timeflux_ui/www/monitor/assets/js

1 file changed

+3
-3
lines changed

timeflux_ui/www/monitor/assets/js/ui.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
var options = {
22
minValue: undefined,
33
maxValue: undefined,
4-
lineWidth: 2,
4+
lineWidth: 1,
55
millisPerPixel: 10,
66
interpolation: 'linear',
77
events: [ 'start', 'stop', 'pause', 'resume', 'observation']
@@ -147,8 +147,8 @@ function create_chart(id, stream, channels, theme) {
147147
charts[id] = new SmoothieChart({
148148
minValue: options.minValue,
149149
maxValue: options.maxValue,
150-
maxValueScale: 1.2,
151-
minValueScale: 1.2,
150+
maxValueScale: 1,
151+
minValueScale: 1,
152152
grid: {
153153
strokeStyle: themes[theme]['grid'],
154154
fillStyle: themes[theme]['background'],

0 commit comments

Comments
 (0)