|
|
|
@ -32,77 +32,94 @@
|
|
|
|
|
<div class='chart full' id='chart1'>
|
|
|
|
|
Example of chart with many series', and new interactive guideline plus tooltip. A chunk of data was purposely removed
|
|
|
|
|
to show how the chart handles it.
|
|
|
|
|
<button>Select chart</button>
|
|
|
|
|
<svg></svg>
|
|
|
|
|
</div>
|
|
|
|
|
<div class='chart half with-transitions' id='chart2'>
|
|
|
|
|
Chart with old tooltip style (with-transitions).
|
|
|
|
|
<button>Select chart</button>
|
|
|
|
|
<svg></svg>
|
|
|
|
|
</div>
|
|
|
|
|
<div class='chart half' id='chart3'>
|
|
|
|
|
Chart with three data points.
|
|
|
|
|
<button>Select chart</button>
|
|
|
|
|
<svg></svg>
|
|
|
|
|
</div>
|
|
|
|
|
<div class='chart third' id='chart4'>
|
|
|
|
|
Chart where two series have different number of points.
|
|
|
|
|
<button>Select chart</button>
|
|
|
|
|
<svg></svg>
|
|
|
|
|
</div>
|
|
|
|
|
<div class='chart third' id='chart5'>
|
|
|
|
|
Chart with one point.
|
|
|
|
|
<button>Select chart</button>
|
|
|
|
|
<svg></svg>
|
|
|
|
|
</div>
|
|
|
|
|
<div class='chart third' id='chart6'>
|
|
|
|
|
Chart with 1000 points.
|
|
|
|
|
<button>Select chart</button>
|
|
|
|
|
<svg></svg>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class='chart third' id='chart7'>
|
|
|
|
|
Chart with no data.
|
|
|
|
|
<button>Select chart</button>
|
|
|
|
|
<svg></svg>
|
|
|
|
|
</div>
|
|
|
|
|
<div class='chart third' id='chart8'>
|
|
|
|
|
All points random. No order.
|
|
|
|
|
<button>Select chart</button>
|
|
|
|
|
<svg></svg>
|
|
|
|
|
</div>
|
|
|
|
|
<div class='chart third' id='chart9'>
|
|
|
|
|
Points do not increase linearly.
|
|
|
|
|
<button>Select chart</button>
|
|
|
|
|
<svg></svg>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class='chart third' id='chart10'>
|
|
|
|
|
Chart with 15 series'
|
|
|
|
|
<button>Select chart</button>
|
|
|
|
|
<svg></svg>
|
|
|
|
|
</div>
|
|
|
|
|
<div class='chart third' id='chart11'>
|
|
|
|
|
Data points go backwards
|
|
|
|
|
<button>Select chart</button>
|
|
|
|
|
<svg></svg>
|
|
|
|
|
</div>
|
|
|
|
|
<div class='chart third' id='chart12'>
|
|
|
|
|
Duplicate X coordinate points.
|
|
|
|
|
<button>Select chart</button>
|
|
|
|
|
<svg></svg>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class='chart third' id='chart16'>
|
|
|
|
|
Duplicate Y coordinate points.
|
|
|
|
|
<button>Select chart</button>
|
|
|
|
|
<svg></svg>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class='chart third' id='chart13'>
|
|
|
|
|
Chart in a overflow div with scrolls (new tooltips)
|
|
|
|
|
<button>Select chart</button>
|
|
|
|
|
<svg></svg>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class='chart third' id='chart14'>
|
|
|
|
|
Chart in a overflow div with scrolls (old tooltips)
|
|
|
|
|
<button>Select chart</button>
|
|
|
|
|
<svg></svg>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div style='clear:both;'></div>
|
|
|
|
|
<div class='chart third' id='chart15'>
|
|
|
|
|
What if there are null, Infinity and NaN values in points?
|
|
|
|
|
<button>Select chart</button>
|
|
|
|
|
<svg></svg>
|
|
|
|
|
</div>
|
|
|
|
|
<div class='chart third' id='chart17'>
|
|
|
|
|
Chart with very small, 1e-10, points (old tooltips)
|
|
|
|
|
<button>Select chart</button>
|
|
|
|
|
<svg></svg>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -117,6 +134,7 @@
|
|
|
|
|
<script src="../src/models/scatter.js"></script>
|
|
|
|
|
<script src="../src/models/line.js"></script>
|
|
|
|
|
<script src="../src/models/lineChart.js"></script>
|
|
|
|
|
<script src="testScript.js"></script>
|
|
|
|
|
<script>
|
|
|
|
|
|
|
|
|
|
//------------ CHART 1
|
|
|
|
|