Commit d6b9da56 authored by Francis Renaud's avatar Francis Renaud
Browse files

Fix: line chart was chopped to the left, having the result of mobility event...

Fix: line chart was chopped to the left, having the result of mobility event lines appearing a couple of seconds appear they appear in the event log
parent 30cdcb77
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -32,10 +32,11 @@ import { blue } from './graph-utils';
const notNull = x => x;
const IDCLineChart = (props) => {
  const keyForSvg=props.keyForSvg;
  let width = props.width;
  let yClipping = 45;
  

  const margin = {top: 20, right: 40, bottom: 30, left: 60};
  let width = props.width - (margin.right + margin.left);
  let yClipping = 45;
  // const width = props.width; // - margin.left - margin.right;
  const height = props.height; // - margin.top - margin.bottom;