Commit 41bd43cd authored by Matthias Betz's avatar Matthias Betz
Browse files

fixed number position in bar chart in pdf report

parent 2811989e
Pipeline #1258 passed with stage
in 1 minute and 46 seconds
......@@ -80,10 +80,12 @@ public class PdfUtils {
val2Rect.setAttribute("height", "30");
Element val2Text = new Element("text", svgNs);
svgElement.addContent(val2Text);
val2Text.setAttribute("x", "" + (WIDTH - 30));
String val2String = "" + val2;
val2Text.setAttribute("x", "" + (WIDTH - val2String.length() * 10));
val2Text.setAttribute("y", "20");
val2Text.setAttribute("font-size", "18pt");
val2Text.addContent("" + val2);
val2Text.addContent(val2String);
}
return svgElement;
......
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