Merge pull request #3353 from influxdata/fixes/mixing-y-axis-label

Always populate ylabel on dygraph
pull/10616/head
Brandon Farmer 2018-05-02 13:32:53 -07:00 committed by GitHub
commit 684903bad0
2 changed files with 8 additions and 0 deletions

View File

@ -14,6 +14,8 @@
1. [#3320](https://github.com/influxdata/chronograf/pull/3320): Add overlay animation to Template Variables Manager
1. [#3245](https://github.com/influxdata/chronograf/pull/3245): Display 'no results' on cells without results
1. [#3354](https://github.com/influxdata/chronograf/pull/3354): Disable template variables for non editing users
1. [#3353](https://github.com/influxdata/chronograf/pull/3353): YAxisLabels in Dashboard Graph Builder not showing until graph is redrawn
### Bug Fixes
@ -23,6 +25,7 @@
1. [#3284](https://github.com/influxdata/chronograf/pull/3284): Fix logout when using basepath & simplify basepath usage (deprecates `PREFIX_ROUTES`)
1. [#3349](https://github.com/influxdata/chronograf/pull/3349): Fix graphs in alert rule builder for queries that include groupby
1. [#3345](https://github.com/influxdata/chronograf/pull/3345): Fix auto not showing in the group by dropdown and explorer getting disconnected
1. [#3353](https://github.com/influxdata/chronograf/pull/3353): Display y-axis label on initial graph load
## v1.4.4.1 [2018-04-16]

View File

@ -45,13 +45,18 @@ class Dygraph extends Component {
isGraphFilled: fillGraph,
isBarGraph,
options,
labels,
} = this.props
const timeSeries = this.timeSeries
const graphRef = this.graphRef
let defaultOptions = {
...options,
labels,
fillGraph,
file: this.timeSeries,
ylabel: this.getLabel('y'),
logscale: y.scale === LOG,
colors: this.lineColors,
series: this.colorDygraphSeries,