public class ChpReport extends ReportCanvas {

    public static ChpReport getOrCreateRef(JavaScriptObject jsObj) {
        if(jsObj == null) return null;
        BaseWidget obj = BaseWidget.getRef(jsObj);
        if(obj != null) {
            return (ChpReport) obj;
        } else {
            return new ChpReport(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 ChpReport(JavaScriptObject jsObj){
        super(jsObj);
    }

    public ChpReport(){
        scClassName="ChpReport";
    }


    private Options options;

    @Override
    public void setOptions(Options options) {
        this.options = options;
    }

    @Override
    public void drawChart() {
        //do stuff
    }

}