finished
This commit is contained in:
@@ -46,11 +46,7 @@ function chooseData() {
|
||||
// ******* TODO: PART I *******
|
||||
// Changed the selected data when a user selects a different
|
||||
// menu item from the drop down.
|
||||
let currentDataType = d3.select('#dataset')
|
||||
let tmp = d3.select('#dataset')
|
||||
.node().value;
|
||||
//.property("value");
|
||||
let selectedData = [];
|
||||
this.allData.forEach(x => selectedData.push(x[currentDataType]));
|
||||
return selectedData;
|
||||
|
||||
barChart.updateBarChart(tmp);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user