class XYGraphWidget extends Widget {

    protected XYCoords screenToSeries(PointF point) {
        if (!plot.getBounds().isFullyDefined()) {
            return null;
        }
        return new RectRegion(gridRect)
                .transform(point.x, point.y, plot.getBounds(), false, true);
    }

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

}