remove scroll in analytics page

- add searchable dropdown in analytics page
This commit is contained in:
Pritimay Sarkar
2023-08-03 11:51:14 +05:30
parent f9c054c62b
commit e34a618198
14 changed files with 87 additions and 38 deletions

View File

@@ -25,7 +25,7 @@ class TestAnalyticsGraph extends Component {
data.reverse();
var margin = { top: 60, right: 20, bottom: 30, left: 50 },
var margin = { top: 60, right: 20, bottom: 30, left: 10 },
width = 520 - margin.left - margin.right,
height = 220 - margin.top - margin.bottom;
@@ -40,7 +40,7 @@ class TestAnalyticsGraph extends Component {
yScale = d3.scaleLinear().range([height, 0]);
var g = svg.append("g")
.attr("transform", "translate(" + 10 + "," + 10 + ")");
.attr("transform", "translate(" + 5 + "," + 5 + ")");
xScale.domain(data.map(function (d) { return moment(d.date).format("MM-DD"); }));