/usr/share/doc/libjs-rickshaw/examples/negative.html is in libjs-rickshaw 1.5.1.dfsg-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | <!doctype>
<link type="text/css" rel="stylesheet" href="css/graph.css">
<link type="text/css" rel="stylesheet" href="css/lines.css">
<script src="/usr/share/javascript/d3/d3.js"></script>
<script src="/usr/share/javascript/rickshaw/rickshaw.js"></script>
<div id="chart"></div>
<script>
var graph = new Rickshaw.Graph({
unstack: true,
element: document.querySelector("#chart"),
width: 580,
height: 250,
min: 'auto',
renderer: 'bar',
series: [ {
color: 'steelblue',
data: [ { x: 0, y: 20 }, { x: 1, y: 3 }, { x: 2, y: 15 }, { x: 3, y: 42 } ]
}, {
color: 'tomato',
data: [ { x: 0, y: 12 }, { x: 1, y: -20 }, { x: 2, y: 18 }, { x: 3, y: 8 } ]
} ]
});
graph.render();
</script>
|