public void SetAxisValues(TableAxisValues _input_axis, Point4D _input_bounds) { //// debug //var id = this.id; //double y0 = (this.ys != null && this.ys.Count > 0) ? this.ys[0] : double.MinValue; //double y0_in = (_input_axis.Ys.Count > 0) ? _input_axis.Ys[0] : double.MinValue; //// debug if (this.xs != null && this.ys != null) { return; } if (_input_axis.Xs.Count < 1 || _input_axis.Ys.Count < 1) { return; } this.bounds = _input_bounds; this.xs = new List <double>(_input_axis.Xs); this.ys = new List <double>(_input_axis.Ys); this.UpdateInfoCells(); }
public void ApplyAxisValues(TableAxisValues _input) { if (_input == null) { return; } if (_input.Xs == null || _input.Ys == null) { return; } if (this.xs == null || this.ys == null) { return; } if (_input.Xs.Count != this.xs.Count || _input.Ys.Count != this.ys.Count) { return; } this.xs = new List <double>(_input.Xs); this.ys = new List <double>(_input.Ys); this.UpdateInfoCells(); }
public void SetAxisValues() { this.AxisValues = new TableAxisValues(this.xs, this.ys); }