fix css for bar graph and main screen

This commit is contained in:
Pritimay Sarkar
2023-08-07 09:56:23 +05:30
parent d35510d39a
commit b4ab8cbff0
4 changed files with 21 additions and 6 deletions

View File

@@ -25,11 +25,12 @@ class TestAnalyticsGraph extends Component {
data.reverse();
var margin = { top: 60, right: 20, bottom: 30, left: 10 },
width = 520 - margin.left - margin.right,
height = 220 - margin.top - margin.bottom;
var margin = { top: 30, right: 20, bottom: 50, left: 15 },
width = 700 - margin.left - margin.right,
height = 180 - margin.top - margin.bottom;
var svg = d3.select("#tests-count-graph").append('svg')
.attr("id", "bargraph")
.attr("width", width + margin.left + margin.right)
.attr("height", height + margin.top + margin.bottom)
.append("g").attr("transform",