private void CartesianChart_DataClick(object sender, ChartPoint chartpoint) { Console.WriteLine("clicked!"); Random r = new Random(); var n = DataValues.Count; DataValues.Clear(); DataValues.AddRange(new double[n].Select(_ => r.Next(60) / 1.0)); }