remove scroll in analytics page
- add searchable dropdown in analytics page
This commit is contained in:
@@ -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"); }));
|
||||
|
||||
Reference in New Issue
Block a user