HEX
Server: Apache
System: Linux b:u:newjapaneti:1 3.10.0-1160.31.1.el7.x86_64 #1 SMP Thu Jun 10 13:32:12 UTC 2021 x86_64
User: newjapaneti (381717)
PHP: 5.6.30
Disabled: apache_get_modules, apache_get_version, apache_reset_timeout, apache_getenv, apache_note, apache_setenv
Upload Files
File: /var/www/html/newjapanetiquetas.com.br/web/docs/vendor/rickshaw/examples/lineplot.html
<!doctype html>
<link type="text/css" rel="stylesheet" href="../rickshaw.css">

<script src="../vendor/d3.v3.js"></script>

<script src="../rickshaw.js"></script>

<div id="chart"></div>

<script>

var graph = new Rickshaw.Graph( {
	width: 500,
	element: document.getElementById("chart"),
	renderer: 'lineplot',
	padding: { top: 0.1 },
	series: [
		{
			data: [ { x: 0, y: 40 }, { x: 1, y: 49 }, { x: 2, y: 38 }, { x: 3, y: 30 }, { x: 4, y: 32 } ],
			color: 'steelblue',
			name: "blue",
		}, {
			data: [ { x: 0, y: 19 }, { x: 1, y: 22 }, { x: 2, y: 32 }, { x: 3, y: 20 }, { x: 4, y: 21 } ],
			color: 'lightblue',
			name: "light blue"
		}
	]
} );

var hover = new Rickshaw.Graph.HoverDetail({ graph: graph });

graph.render();

</script>