public BindedBarsViewModel() { _timer.Tick += (sender, args) => { Series1.RemoveAt(0); Series1.Add(_random.Next(-10, 39)); Series2.RemoveAt(0); Series2.Add(_random.Next(-10, 39)); }; }
public void AddValue() { Series1.Add(_random.Next(-10, 39)); Series2.Add(_random.Next(-10, 39)); }