margin fix, fit 3 digits prices
This commit is contained in:
parent
c88044a260
commit
c768da2417
@ -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;
|
||||
|
@ -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())
|
||||
|
Loading…
x
Reference in New Issue
Block a user