public async Task ReadPivotData(string measurementName) { PivotData data = await _reader.QueryAsync(measurementName, new QueryRange(-7, RangeUnit.day)); Console.WriteLine(data.ToJson()); Console.WriteLine("-----------------"); }