class XYGraphWidget extends Widget {

    protected void drawMarkers(Canvas canvas) {
        if (plot.getYValueMarkers() != null && plot.getYValueMarkers().size() > 0) {
            for (YValueMarker marker : plot.getYValueMarkers()) {
                marker.draw(canvas, plot, gridRect);
            }
        }

        if (plot.getXValueMarkers() != null && plot.getXValueMarkers().size() > 0) {
            for (XValueMarker marker : plot.getXValueMarkers()) {
                marker.draw(canvas, plot, gridRect);
            }
        }
    }

    public  XYGraphWidget(LayoutManager layoutManager, XYPlot plot, Size size);

}