// provide data for chart 1privatevoidsmoothieChart1_DataNeeded(object sender,DataNeededEventArgs e){ if (e.LineIndex==0) {e.Value=rnd.Next(100); }elseif (e.LineIndex==1) {e.Value=rnd.Next(50); }elseif (e.LineIndex==2) {e.Value=rnd.Next(30); }}
Find more information in our SmoothieChart example in C# or in VB.NET.
Or just try it online.