Update the example web page to have some default values selected

This commit is contained in:
Pitchaya Boonsarngsuk
2018-01-24 21:18:12 +00:00
parent 1c340fce54
commit 918275ce45
2 changed files with 9 additions and 2 deletions

View File

@@ -63,6 +63,13 @@ var MULTIPLIER = 50,
// Create a color scheme for a range of numbers.
var color = d3.scaleOrdinal(d3.schemeCategory10);
$(document).ready(function() {
distanceFunction = calculateDistance;
d3.select('#startSimulation').on('click', startHybridSimulation);
$("#HLParameters").show();
});
/**
* Parse the data from the provided csv file using Papa Parse library
* @param {file} evt - csv file.