Fix Kapacitor rule graph display
parent
cd2b7c9d3d
commit
6d4df1f45b
|
@ -174,7 +174,7 @@ export default React.createClass({
|
|||
|
||||
render() {
|
||||
return (
|
||||
<div ref="self">
|
||||
<div ref="self" style={{height: '100%'}}>
|
||||
<div ref="graphContainer" style={this.props.containerStyle} />
|
||||
<div className="container--dygraph-legend" ref="legendContainer" />
|
||||
<div className="graph-vertical-marker" ref="graphVerticalMarker" />
|
||||
|
|
|
@ -104,7 +104,10 @@ export default React.createClass({
|
|||
}
|
||||
|
||||
return (
|
||||
<div className={classNames({"graph--hasYLabel": !!(options.ylabel || options.y2label)})}>
|
||||
<div
|
||||
className={classNames({"graph--hasYLabel": !!(options.ylabel || options.y2label)})}
|
||||
style={{height: '100%'}}
|
||||
>
|
||||
{isRefreshing ? this.renderSpinner() : null}
|
||||
<Dygraph
|
||||
containerStyle={{width: '100%', height: '100%'}}
|
||||
|
|
Loading…
Reference in New Issue