Skip to content
Snippets Groups Projects
Commit 80774cfa authored by Jürgen Walter's avatar Jürgen Walter
Browse files

improved visualization

parent 583fb227
No related branches found
No related tags found
No related merge requests found
......@@ -115,7 +115,7 @@ public class DifferenceChart extends AbstractVisualizationType implements IVisua
if (r instanceof ValueResultPavo) {
ValueMarker marker = new ValueMarker(((ValueResultPavo) r).getValue());
marker.setPaint(Color.green);
marker.setLabel(((ValueResultPavo) r).getName());
marker.setLabel(((ValueResultPavo) r).getStatisticType());
marker.setLabelAnchor(RectangleAnchor.BOTTOM_RIGHT);
marker.setLabelTextAnchor(TextAnchor.TOP_RIGHT);
((XYPlot) chart.getPlot()).addRangeMarker(marker);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment