fix dropdown selection problem
This commit is contained in:
@@ -86,30 +86,6 @@ class AbsorbanceGraph extends Component {
|
||||
.call(d3.axisLeft(y));
|
||||
|
||||
});
|
||||
|
||||
|
||||
// /* test graph */
|
||||
// const testData = require('./testData.json').filter(x => { if (x.NM > 397 && x.NM < 580) return x; });
|
||||
|
||||
// testData.forEach(function (d) {
|
||||
// d.wavelength = d.NM;
|
||||
// d.absorbance = +d.CA;
|
||||
// });
|
||||
|
||||
// x.domain(d3.extent(testData, function (d) { return d.wavelength; }));
|
||||
// y.domain([0, d3.max(testData, function (d) { return d.absorbance; })]);
|
||||
|
||||
// svg.append("path")
|
||||
// .data([testData])
|
||||
// .attr("class", "line")
|
||||
// .attr("d", valueline);
|
||||
|
||||
// svg.append("g")
|
||||
// .attr("transform", "translate(0," + height + ")")
|
||||
// .call(d3.axisBottom(x));
|
||||
|
||||
// svg.append("g")
|
||||
// .call(d3.axisLeft(y));
|
||||
}
|
||||
|
||||
render() {
|
||||
|
||||
Reference in New Issue
Block a user