private void DrawAngelData(List <AngleData> packets) { packets.ForEach(packet => { programDigram.AddAngleData(packet); ChartAccX.WriteData(packet.ax); ChartAccY.WriteData(packet.ay); ChartAccZ.WriteData(packet.az); ChartAngelX.WriteData(packet.angleX); ChartAngelY.WriteData(packet.angleY); ChartAngelZ.WriteData(packet.angleZ); }); ChartAccX.EndWrite(); ChartAccY.EndWrite(); ChartAccZ.EndWrite(); ChartAngelX.EndWrite(); ChartAngelY.EndWrite(); ChartAngelZ.EndWrite(); }