AddLines() публичный Метод

public AddLines ( Graphics g, ChartStyle cs ) : void
g System.Drawing.Graphics
cs ChartStyle
Результат void
Пример #1
0
        public override void Draw(RectangleF dirtyRect)
        {
            Graphics g = new Graphics();

            cs.ChartArea = this.ClientRectangle;
            AddData();
            SetPlotArea(g);
            cs.AddChartStyle(g);
            dc.AddLines(g, cs);
            g.Dispose();
        }
Пример #2
0
        public override void Draw(CGRect rect)
        {
            Graphics g = Graphics.FromCurrentContext();

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