resize barchart card

This commit is contained in:
Pritimay Sarkar
2023-09-12 19:07:23 +05:30
parent ac49d93342
commit 5ebdd68f50
2 changed files with 6 additions and 6 deletions

View File

@@ -61,15 +61,15 @@
}
div#tests-count-graph {
height: 180px;
width: 430px;
height: 250px;
width: 450px;
/* border: 2px solid #000; */
overflow-y: auto;
}
svg#bargraph {
height: 160px; /* 500px; */
width: 400px; /* 1100px; */
height: 240px; /* 500px; */
width: 450px; /* 1100px; */
/* border: 1px dotted #ccc; */
/* background-color: #ccc; */
}

View File

@@ -26,8 +26,8 @@ class TestAnalyticsGraph extends Component {
// data.reverse();
var margin = { top: 30, right: 20, bottom: 50, left: 55 },
width = 400 - margin.left - margin.right,
height = 180 - margin.top - margin.bottom;
width = 440 - margin.left - margin.right,
height = 250 - margin.top - margin.bottom;
var svg = d3.select("#tests-count-graph").append('svg')
.attr("id", "bargraph")