SetChartArea() public method

public SetChartArea ( Graphics g ) : void
g System.Drawing.Graphics
return void
コード例 #1
0
        public override void Draw(CGRect rect)
        {
            Graphics g = Graphics.FromCurrentContext();

            cs.ChartArea = ClientRectangle;
            cs.SetChartArea(g);
        }
コード例 #2
0
        public override void Draw(RectangleF dirtyRect)
        {
            Graphics g = Graphics.FromCurrentContext();

            cs.ChartArea = this.ClientRectangle;
            cs.SetChartArea(g);
        }
コード例 #3
0
        public override void Draw(RectangleF dirtyRect)
        {
            Graphics g = new Graphics();

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