From 2bb8ba67b724b632479f8abd3286428b2eddb9c4 Mon Sep 17 00:00:00 2001 From: Linus Berg Date: Tue, 12 Mar 2019 19:51:13 +0100 Subject: [PATCH] Style. --- public/js/chart.js | 7 ++----- public/style.css | 2 ++ 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/public/js/chart.js b/public/js/chart.js index fbc4c8a..c0032f0 100644 --- a/public/js/chart.js +++ b/public/js/chart.js @@ -7,7 +7,7 @@ var config = { label: 'Temperature', data: [], fill: false, - borderColor: 'red' + borderColor: '#006699' }] }, options: { @@ -42,9 +42,7 @@ var config = { 'year': 'mm:ss' } }, - ticks: { - fontColor: "white", - }, + ticks: {}, scaleLabel: { display: false, } @@ -52,7 +50,6 @@ var config = { yAxes: [{ display: true, ticks: { - fontColor: "white", beginAtZero: true }, scaleLabel: { diff --git a/public/style.css b/public/style.css index ca1d278..5866ceb 100644 --- a/public/style.css +++ b/public/style.css @@ -4,9 +4,11 @@ body { background-color: #f4f4f4; } #console { + display: inline-block; width: 25rem; height: 20rem; overflow: auto; + vertical-align: top; } #chart_wrapper { display: inline-block;