Update RefreshingGraph to conform to merged Bar Graph implementation
parent
0f847e0065
commit
b2b012e8ca
|
@ -16,14 +16,6 @@ const RefreshingGraph = ({
|
||||||
queries,
|
queries,
|
||||||
cellHeight,
|
cellHeight,
|
||||||
}) => {
|
}) => {
|
||||||
if (type === 'bar') {
|
|
||||||
return (
|
|
||||||
<div className="graph-empty">
|
|
||||||
<p>Coming soon: Bar graph</p>
|
|
||||||
</div>
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
if (type === 'single-stat') {
|
if (type === 'single-stat') {
|
||||||
return (
|
return (
|
||||||
<RefreshingSingleStat
|
<RefreshingSingleStat
|
||||||
|
@ -47,6 +39,7 @@ const RefreshingGraph = ({
|
||||||
timeRange={timeRange}
|
timeRange={timeRange}
|
||||||
autoRefresh={autoRefresh}
|
autoRefresh={autoRefresh}
|
||||||
showSingleStat={type === 'line-plus-single-stat'}
|
showSingleStat={type === 'line-plus-single-stat'}
|
||||||
|
isBarGraph={type === 'bar'}
|
||||||
displayOptions={displayOptions}
|
displayOptions={displayOptions}
|
||||||
synchronizer={synchronizer}
|
synchronizer={synchronizer}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in New Issue