public void Add(double x, double y, string text, Color markerColor, Color textColor) { TLabel tlabel = new TLabel(text, x, y, markerColor, textColor); tlabel.Style = this.markerStyle; tlabel.Size = this.markerSize; Points.Add(tlabel); MinMax(x, y); }
public void Add(double x, double y, string text, Color markerColor, Color textColor) { var label = new TLabel(text, x, y, markerColor, textColor) { Style = this.markerStyle, Size = this.markerSize }; Points.Add(label); MinMax(x, y); }
public void Add(TLabel label) { Points.Add(label); MinMax(label.X, label.Y); }