AddChartStyle() public method

public AddChartStyle ( Graphics g ) : void
g System.Drawing.Graphics
return void
Ejemplo n.º 1
0
        public override void DrawRect(System.Drawing.RectangleF dirtyRect)
        {
            var g = new Graphics();

            g.Clear(backColor);

            cs.ChartArea = this.ClientRectangle;
            AddData();
            SetPlotArea(g);
            cs.AddChartStyle(g);
            dc.AddLines(g, cs);
            g.Dispose();
        }