Пример #1
0
        private void miSingleLine_Click(object sender, System.EventArgs e)
        {
            SingleLineObject sl = new SingleLineObject();

            sl.Init();
            sl.AreaName         = "FML.VOLMA";
            sl.LineType         = SingleLineType.Vertical;
            sl.ControlPoints[0] = new ObjectPoint(new DateTime(2003, 9, 19).ToOADate(), 26.7);
            sl.LinePen.Color    = Color.Red;
            Manager.AddObject(sl);
            Designer.NeedRedraw();
        }
Пример #2
0
 private void miSquareRoot_Click(object sender, System.EventArgs e)
 {
     ChartControl.Chart[1].AxisY.Scale = ScaleType.SquareRoot;
     ChartControl.NeedRedraw();
 }