public FormulaSkin() { AxisX = new FormulaAxisX(); axisXs = new AxisXCollection(); axisXs.Add(AxisX); AxisY = new FormulaAxisY(); Back = new FormulaBack(); }
/// <summary> /// Copy attribute from another FormulaAxisY /// </summary> /// <param name="fay"></param> public void CopyFrom(FormulaAxisY fay) { visible = fay.visible; autoMultiply = fay.autoMultiply; width = fay.width; //autoScale = fay.autoScale; majorTick = fay.majorTick.Clone(); minorTick = fay.minorTick.Clone(); back = (FormulaBack)fay.back.Clone(); autoFormat = fay.autoFormat; format = fay.format; multiplyBack = (FormulaBack)fay.multiplyBack.Clone(); labelFont = (Font)fay.labelFont.Clone(); labelBrush = fay.labelBrush.Clone(); axisPos = fay.axisPos; }
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; }
public FormulaSkin() { Brush[] brushArray = new Brush[3]; brushArray[2] = Brushes.Blue; this.BarBrushes = brushArray; this.NameBrush = new SolidBrush(Color.Black); this.NameFont = new Font("Verdana", 7f); this.TextFont = new Font("Verdana", 7f); this.CursorPen = new Pen(Color.Black); this.ShowValueLabel = true; this.AxisX = new FormulaAxisX(); this.AxisXs = new AxisXCollection(); this.AxisXs.Add(this.AxisX); this.AxisY = new FormulaAxisY(); this.Back = new FormulaBack(); }
public void Remove(FormulaAxisY value) { List.Remove(value); }
public virtual int Add(FormulaAxisY fay) { return(List.Add(fay)); }
public virtual void Add(FormulaAxisY fay) { base.List.Add(fay); }