Default to having a Ylabel class

pull/1714/head
Andrew Watkins 2017-08-02 16:08:58 -07:00
parent f2014bbe0b
commit c2e38c1ea2
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ export default React.createClass({
const dygraph = this.dygraphRef
if (!dygraph) {
return ''
return 'graph--hasYLabel'
}
const label = dygraph.querySelector('.dygraph-ylabel')