public class ReportCanvas extends Canvas implements Report {
    public ReportCanvas(JavaScriptObject jsObj) {
        super(jsObj);
    }

    public static ReportCanvas getOrCreateRef(JavaScriptObject jsObj) {
        if (jsObj == null) return null;
        BaseWidget obj = BaseWidget.getRef(jsObj);
        if (obj != null) {
            return (ReportCanvas) obj;
        } else {
            return new ReportCanvas(jsObj);
        }
    }

    protected native JavaScriptObject create()/*-{
        var config = this.@com.smartgwt.client.widgets.BaseWidget::getConfig()();
        var scClassName = this.@com.smartgwt.client.widgets.BaseWidget::scClassName;
        var widget = $wnd.isc[scClassName].create(config);
        this.@com.smartgwt.client.widgets.BaseWidget::doInit()();
        return widget;
    }-*/;


    public ReportCanvas() {
        this.scClassName="ReportCanvas";
    }

    @Override
    public void setOptions(Options options) {
        //To change body of implemented methods use File | Settings | File Templates.
    }

    @Override
    public void drawChart() {
        //To change body of implemented methods use File | Settings | File Templates.
    }
}
