|
@@ -117,6 +117,8 @@ function (angular, _, kbn, InfluxSeries, InfluxQueryBuilder) {
|
|
|
|
|
|
|
|
return this._seriesQuery(interpolated)
|
|
return this._seriesQuery(interpolated)
|
|
|
.then(function (results) {
|
|
.then(function (results) {
|
|
|
|
|
+ if (!results || results.length === 0) { return []; }
|
|
|
|
|
+
|
|
|
return _.map(results[0].points, function (metric) {
|
|
return _.map(results[0].points, function (metric) {
|
|
|
return {
|
|
return {
|
|
|
text: metric[1],
|
|
text: metric[1],
|