keep y axis fixed to 2, csv automation

This commit is contained in:
prisar
2023-07-25 20:13:50 +05:30
parent a709d83693
commit f2b07f63f7
6 changed files with 14 additions and 8 deletions

View File

@@ -73,7 +73,7 @@ class AbsorbanceGraph extends Component {
});
x.domain(d3.extent(testData, function (d) { return d.wavelength; }));
y.domain([0, d3.max(testData, function (d) { return d.absorbance; })]);
y.domain([0, 2]);
svg.append("path")
.data([testData])