From 49f6bcf30ef5380e4fa244d4d76ebc1e6ce3e8b5 Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Sat, 22 Aug 2020 13:03:42 +0200 Subject: [PATCH] update default config --- src/default.js | 39 ++++++++++++--------------------------- 1 file changed, 12 insertions(+), 27 deletions(-) diff --git a/src/default.js b/src/default.js index d718491..7ba52ff 100644 --- a/src/default.js +++ b/src/default.js @@ -6,32 +6,26 @@ */ export default [ - { - type: 'table', - columns: [ - 'id', - 'app', - 'timestamp' - ] - }, - { - type: 'table', - columns: [ 'data' ] - }, { type: 'chart', x: 'timestamp', y: [ { - label: 'foo', - field: 'data/num2', - color: '#ff000055', + label: 'temperature', + field: 'data/temperature', + color: '#ff0000', fill: '#0000' }, { - label: 'bar', - field: 'data/num3', - color: '#00ff00', + label: 'humidity', + field: 'data/humidity', + color: '#0000ff', + fill: '#0000' + }, + { + label: 'light', + field: 'data/light', + color: '#ffff00', fill: '#0000' } ] @@ -40,15 +34,6 @@ export default [ type: 'table', columns: [ 'id', - 'app', - 'message' - ] - }, - { - type: 'table', - columns: [ - 'id', - 'app', 'message', 'data', 'timestamp'