From c768da2417e8ddfdff3dd72c59c9970155224d67 Mon Sep 17 00:00:00 2001 From: Sam Hadow Date: Mon, 12 Feb 2024 22:25:14 +0100 Subject: [PATCH] margin fix, fit 3 digits prices --- web/app.js | 4 ++-- web/rendergraphs.js | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/web/app.js b/web/app.js index 40aea5e..3ab1bfb 100644 --- a/web/app.js +++ b/web/app.js @@ -5,8 +5,8 @@ const height = 350; const margin = { top: 10, right: height, - bottom: 30, - left: 30 + bottom: 20, + left: 50 }; // get window width const width = window.innerWidth - margin.right - margin.left -10; diff --git a/web/rendergraphs.js b/web/rendergraphs.js index 38227bd..e53b336 100644 --- a/web/rendergraphs.js +++ b/web/rendergraphs.js @@ -7,7 +7,6 @@ function render_graphs(items, history, show_hidden) { // Group the data by (uuid) const nestedData = d3.group(history, d => d.uuid); // Create a div for each graph - console.log(nestedData.size) const graphDivs = d3.select("#graphs") .selectAll(".graph-container") .data(nestedData.keys())