private void AddChart()
 {
     Point start = startCoordinate(canvas1);
     dcs = new drawCoordinateSystem();
     dcs.CoordinateCanvas = coordinateCanvas;
     dcs.Xmin = start.X;
     dcs.Xmax = coordinateCanvas.Width;
     dcs.XTick = 20;
     dcs.Ymin = start.Y;
     dcs.Ymax = coordinateCanvas.Height;
     dcs.YTick = 20;
     dcs.GridlinePattern = drawCoordinateSystem.GridlinePatternEnum.Dot;
     dcs.AddCoordinateSystem();
 }
Esempio n. 2
0
        private void AddChart()
        {
            Point start = startCoordinate(canvas1);

            dcs = new drawCoordinateSystem();
            dcs.CoordinateCanvas = coordinateCanvas;
            dcs.Xmin             = start.X;
            dcs.Xmax             = coordinateCanvas.Width;
            dcs.XTick            = 20;
            dcs.Ymin             = start.Y;
            dcs.Ymax             = coordinateCanvas.Height;
            dcs.YTick            = 20;
            dcs.GridlinePattern  = drawCoordinateSystem.GridlinePatternEnum.Dot;
            dcs.AddCoordinateSystem();
        }