public FormulaAxisY() { this.MajorTick.ShowLine = true; this.MinorTick = new FormulaTick(); this.MinorTick.TickWidth = 3; this.MinorTick.MinimumPixel = 10; this.Back = new FormulaBack(); this.MultiplyBack = new FormulaBack(); this.MultiplyBack.BackGround = new SolidBrush(Color.Yellow); }
public object Clone() { FormulaBack back = new FormulaBack(); back.BackGround = (Brush)this.BackGround.Clone(); back.LeftPen = (Pen)this.LeftPen.Clone(); back.RightPen = (Pen)this.RightPen.Clone(); back.BottomPen = (Pen)this.BottomPen.Clone(); back.TopPen = (Pen)this.TopPen.Clone(); return(back); }
public void CopyFrom(FormulaAxisX fax) { this.Visible = fax.Visible; this.DateFormatProvider = fax.DateFormatProvider; this.AutoScale = fax.AutoScale; this.Format = fax.Format; this.MajorTick = (FormulaTick)fax.MajorTick.Clone(); this.MinorTick = (FormulaTick)fax.MinorTick.Clone(); this.Back = (FormulaBack)fax.Back.Clone(); this.LabelFont = (Font)fax.LabelFont.Clone(); this.LabelBrush = (Brush)fax.LabelBrush.Clone(); this.AxisLabelAlign = fax.AxisLabelAlign; this.DataCycle = fax.DataCycle; }
public void CopyFrom(FormulaAxisY fay) { this.Visible = fay.Visible; this.AutoMultiply = fay.AutoMultiply; this.Width = fay.Width; this.AutoScale = fay.AutoScale; this.MajorTick = (FormulaTick)fay.MajorTick.Clone(); this.MinorTick = (FormulaTick)fay.MinorTick.Clone(); this.Back = (FormulaBack)fay.Back.Clone(); this.AutoFormat = fay.AutoFormat; this.Format = fay.Format; this.MultiplyBack = (FormulaBack)fay.MultiplyBack.Clone(); this.LabelFont = (Font)fay.LabelFont.Clone(); this.LabelBrush = (Brush)fay.LabelBrush.Clone(); this.AxisPos = fay.AxisPos; }