Commit 8c56b7ad authored by Benjamin Blanc's avatar Benjamin Blanc

erp5_test_result: add docs/hour on bar top

parent 77763bcf
......@@ -332,6 +332,18 @@ var svg = d3.select("body").append("svg")\n
.attr("stroke", smoothed_curve_color)\n
}\n
\n
// Add number of docs per hour on the top of bars\n
for(var j=1; j<data2[0].length; j++){\n
if(data[0][j] > 0){\n
svg.append("text")\n
.attr("x", x1(j)+x0(0))\n
.attr("y", y(data[0][j]))\n
.attr("dy", "1.0em")\n
.attr("stroke-width", 2)\n
.attr("class", "title")\n
.text(data[0][j]);\n
}\n
}\n
\n
\n
\n
......
264
\ No newline at end of file
266
\ No newline at end of file
Markdown is supported
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