diff --git a/CHANGELOG.md b/CHANGELOG.md index 0edc1b5cbb..d396cfeb3d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ 1.[#2004](https://github.com/influxdata/chronograf/pull/2004): Fix DE query templates dropdown disappearance 1.[#2006](https://github.com/influxdata/chronograf/pull/2006): Fix no alert for duplicate db name 1.[#2019](https://github.com/influxdata/chronograf/pull/2006): Fix false error warning for duplicate kapacitor name +1.[#2018](https://github.com/influxdata/chronograf/pull/2018): Fix unresponsive display options and query builder in dashboards ### Features 1. [#1885](https://github.com/influxdata/chronograf/pull/1885): Add `fill` options to data explorer and dashboard queries diff --git a/ui/src/shared/components/RefreshingGraph.js b/ui/src/shared/components/RefreshingGraph.js index bda40a7813..22e8f6b54c 100644 --- a/ui/src/shared/components/RefreshingGraph.js +++ b/ui/src/shared/components/RefreshingGraph.js @@ -1,5 +1,7 @@ import React, {PropTypes} from 'react' +import {emptyGraphCopy} from 'src/shared/copy/cell' + import AutoRefresh from 'shared/components/AutoRefresh' import LineGraph from 'shared/components/LineGraph' import SingleStat from 'shared/components/SingleStat' @@ -19,6 +21,16 @@ const RefreshingGraph = ({ synchronizer, editQueryStatus, }) => { + if (!queries.length) { + return ( +
+

+ {emptyGraphCopy} +

+
+ ) + } + if (type === 'single-stat') { return (