static public void renderToView(String code, xGraphics g, xBaseControl view)
        {
            DrawAChartDelegator sharedInstance = (DrawAChartDelegator)GlobalData.vars().getValue("DrawAChartDelegator");

            if (sharedInstance == null)
            {
                sharedInstance = new DrawAChartDelegator();
                GlobalData.vars().setValue("DrawAChartDelegator", sharedInstance);
            }

            sharedInstance._renderToView(code, g, view);
        }
        static public void renderToView(String code, xGraphics g, System.Drawing.Rectangle rc)
        {
            DrawAChartDelegator sharedInstance = (DrawAChartDelegator)GlobalData.vars().getValue("DrawAChartDelegator");

            if (sharedInstance == null)
            {
                sharedInstance = new DrawAChartDelegator();
                GlobalData.vars().setValue("DrawAChartDelegator", sharedInstance);
            }

            sharedInstance._renderToView(code, g, rc);
        }
Esempio n. 3
0
 public override void render(xGraphics g)
 {
     DrawAChartDelegator.renderToView(mCode, g, this);
 }