private void PopulateSensorData(SensorData sensorData, SensorContext sensorContext, List <PointerData> pointerDataList) { SensorChannelsContext channels = sensorContext.DefaultSensorChannelsContext; sensorData.AddData(channels.GetChannel(InkSensorType.X), pointerDataList.Select((pd) => pd.X).ToList()); sensorData.AddData(channels.GetChannel(InkSensorType.Y), pointerDataList.Select((pd) => pd.Y).ToList()); sensorData.AddTimestampData(channels.GetChannel(InkSensorType.Timestamp), pointerDataList.Select((pd) => pd.Timestamp).ToList()); }