252253254255256257258259260261262
} public void onSaveComment(ChartComment comment) { final XYPlot plot = chartPanel.getChart().getPlot(); DomainBarMarker marker = new DomainBarMarker(comment.getDomainValue(), 1.0, comment.getTitle()); plot.addOverlay(marker); plot.redraw(); // keep reference overlayMapping.put(comment.getId(), marker);
168169170171172173174
* */ @Export public static DomainBarMarker createBarMarker(String startDate, String endDate, String label) { return new DomainBarMarker(startDate, endDate, label); }
179180181182183184185
* */ @Export public static DomainBarMarker createBarMarkerWithClass(String startDate, String endDate, String label, String gssClass) { return new DomainBarMarker(startDate, endDate, label, gssClass); }