Commit ccec9301 authored by Antoine Blanquet's avatar Antoine Blanquet
Browse files

adding a testing sparkline file to implement HTML report and testing some stuff

parent 9755d93a
<html xmlns="" xml:lang="en"></html>
<script type="text/javascript" src="jQuery_Sparklines_Simple_Example_fichiers/jquery-1.js"></script>
<script type="text/javascript" src="jQuery_Sparklines_Simple_Example_fichiers/jquery.js"></script>
<script type="text/javascript">
$(function() {
/** This code runs when everything has been loaded on the page */
/* Inline sparklines take their values from the contents of the tag */
/* Sparklines can also take their values from the first argument
passed to the sparkline() function */
var myvalues = [10,8,5,7,4,4,1];
/* The second argument gives options such as chart type */
$('.dynamicbar').sparkline(myvalues, {type: 'bar', barColor: 'green'} );
/* Use 'html' instead of an array of values to pass options
to a sparkline with data in the tag */
$('.inlinebar').sparkline('html', {type: 'bar', barColor: 'red'} );
Inline Sparkline: <span class="inlinesparkline">1,4,4,7,5,9,10</span>.
Sparkline with dynamic data: <span class="dynamicsparkline">Loading..</span>
Bar chart with dynamic data: <span class="dynamicbar">Loading..</span>
Bar chart with inline data: <span class="inlinebar">1,3,4,5,3,5</span>
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment