Пример #1
0
 private Axis(Pad pad, double x1, double y1, double x2, double y2, EAxisPosition position)
 {
     this.pad = pad;
     Position = position;
     X1 = x1;
     X2 = x2;
     Y1 = y1;
     Y2 = y2;
     Enabled = true;
     Zoomed = false;
     Color = Color.Black;
     Title = "";
     TitleEnabled = true;
     TitlePosition = EAxisTitlePosition.Centre;
     TitleFont = new Font("Arial", 8f);
     TitleColor = Color.Black;
     TitleOffset = 2;
     LabelEnabled = true;
     LabelFont = new Font("Arial", 8f);
     LabelColor = Color.Black;
     LabelFormat = (string)null;
     LabelOffset = 2;
     LabelAlignment = EAxisLabelAlignment.Centre;
     GridEnabled = true;
     GridColor = Color.Gray;
     GridDashStyle = DashStyle.Solid;
     GridWidth = 0.5f;
     MinorGridEnabled = false;
     MinorGridColor = Color.Gray;
     MinorGridDashStyle = DashStyle.Solid;
     MinorGridWidth = 0.5f;
     MajorTicksEnabled = true;
     MajorTicksColor = Color.Black;
     MajorTicksWidth = 0.5f;
     MajorTicksLength = 4;
     MinorTicksEnabled = true;
     MinorTicksColor = Color.Black;
     MinorTicksWidth = 0.5f;
     MinorTicksLength = 1;
     Type = EAxisType.Numeric;
     VerticalGridStyle = EVerticalGridStyle.ByDateTime;
     this.fMouseDown = false;
     this.fMouseDownX = 0;
     this.fMouseDownY = 0;
     this.fOutlineEnabled = false;
     this.fOutline1 = 0;
     this.fOutline2 = 0;
     this.fWidth = -1;
     this.fHeight = -1;
 }
Пример #2
0
        public Axis(Pad Pad, double X1, double Y1, double X2, double Y2) : base()
        {

            this.pad = Pad;
            this.position = EAxisPosition.None;
            this.jiR6jl13Bb = X1;
            this.WvY61ob0Xo = X2;
            this.Eo969HTsnQ = Y1;
            this.y2 = Y2;
            this.Init();
        }
Пример #3
0
 public Axis(Pad pad, EAxisPosition position)
     : this(pad, 0, 0, 0, 0, position)
 {
 }
Пример #4
0
        public Axis(Pad Pad, EAxisPosition Position) : base()
        {

            this.pad = Pad;
            this.position = Position;
            this.jiR6jl13Bb = 0.0;
            this.WvY61ob0Xo = 0.0;
            this.Eo969HTsnQ = 0.0;
            this.y2 = 0.0;
            this.Init();
        }