fixed bug with bootstrap and tooltips

parent 76c9672228
commit d741f3d21f
  1. 6
      index.html
  2. 5
      js/tsne_vis.js

@ -201,10 +201,10 @@
<label for="param-corr" data-toggle="tooltip" data-placement="right" title="Tip: percentage of all points taken into account by Dimension Correlation.">Correlation threshold (%)</label>
</div>
<div class="col-md-5">
<input id="param-corr" type="range" min="0" max="100" value="25", step="1" onchange="CalculateCorrel(true);" style="margin-left: -20px;">
<input id="param-corr" type="range" min="0" max="100" value="50", step="1" onchange="CalculateCorrel(true);" style="margin-left: -20px;">
</div>
<div class="col-md-1">
<output for="param-corr" id="param-corr-value" style="margin-left: -20px;">25</output>
<output for="param-corr" id="param-corr-value" style="margin-left: -20px;">50</output>
</div>
</div>
</div>
@ -342,7 +342,7 @@
<script>
// Tooltip
$(document).ready(function(){
$(this).tooltip();
$("[rel='tooltip']").tooltip();
});
$("#cost").html('(Unknown Iteration and Cost Values)');

@ -1620,7 +1620,7 @@ function CalculateCorrel(flagForSchema){ // Calculate the correlation is a funct
}
}
var compareThreshold = ((correlLimit/100)*arraysCleared.length)
compareThreshold = Math.ceil(compareThreshold);
compareThreshold = parseInt(compareThreshold);
arraysCleared = sortByKey(arraysCleared, 5);
ArrayLimit = [];
@ -3309,7 +3309,6 @@ function LineBar() {
// Get the checkbox
var NBViewOptions = document.getElementById("param-NB-view").value; // Get the threshold value with which the user set's the boundaries of the schema investigation
NBViewOptions = parseInt(NBViewOptions);
console.log(NBViewOptions);
// Get the output text
var viewport = getViewport(); // Get the main viewport width height
@ -3331,7 +3330,7 @@ function LineBar() {
var trace = {
x: kValuesLegend,
y: difference,
name: 'Average difference',
name: 'Delta(preservation)',
showlegend: true,
type: 'line',
marker: {

Loading…
Cancel
Save