SetChartArea() public method

public SetChartArea ( Graphics g ) : void
g System.Drawing.Graphics
return void
Example #1
0
        public override void Draw(RectangleF dirtyRect)
        {
            Graphics g = Graphics.FromCurrentContext();

            cs.ChartArea = this.ClientRectangle;
            cs.SetChartArea(g);
        }
Example #2
0
        public override void Draw(CGRect rect)
        {
            Graphics g = Graphics.FromCurrentContext();

            cs.ChartArea = ClientRectangle;
            cs.SetChartArea(g);
        }
        public override void Draw(RectangleF dirtyRect)
        {
            Graphics g = new Graphics();

            cs.ChartArea = this.ClientRectangle;
            cs.SetChartArea(g);
        }