internal static async Task<OxyplotData> LoadGraphDataAsync(string filename)
        {
            OxyplotData oxyplotData = new OxyplotData();
            if (filename != null & filename != String.Empty)
            {
                Task<List<AccelerometerSample>> loadAccelerometerTask = FileService.LoadAccelerometerSamplesFromFileAsync(filename);
                Task<List<GyrometerSample>> loadGyrometerTask = FileService.LoadGyrometerSamplesFromFileAsync(filename);
                Task<List<QuaternionSample>> loadQuaternionTask = FileService.LoadQuaternionSamplesFromFileAsync(filename);
                Task<List<EvaluationSample>> loadEvaluationSamplesTask = FileService.LoadEvaluationSamplesFromFileAsync(filename);

                oxyplotData.AccelerometerSamples = await loadAccelerometerTask;
                oxyplotData.GyrometerSamples = await loadGyrometerTask;
                oxyplotData.QuaternionSamples = await loadQuaternionTask;
                oxyplotData.EvaluationSamples = await loadEvaluationSamplesTask;
            }
            return oxyplotData;
        }
        public async Task<OxyplotData> FindMeasurementGraphData(string measurementId)
        {
            OxyplotData oxyplotData = new OxyplotData();

            if (measurementId != null && measurementId.Length > 0)
            {
                MeasurementModel measurement = this._globalMeasurementModel.GetMeasurementById(measurementId);
                if (measurement != null)
                {
                    oxyplotData = await GraphService.LoadGraphDataAsync(measurement.Filename);
                }
            }
            return oxyplotData;
        }