Update RefreshingGraph to conform to merged Bar Graph implementation

pull/10616/head
Jared Scheib 2017-06-13 10:56:55 -07:00
parent 0f847e0065
commit b2b012e8ca
1 changed files with 1 additions and 8 deletions

View File

@ -16,14 +16,6 @@ const RefreshingGraph = ({
queries,
cellHeight,
}) => {
if (type === 'bar') {
return (
<div className="graph-empty">
<p>Coming soon: Bar graph</p>
</div>
)
}
if (type === 'single-stat') {
return (
<RefreshingSingleStat
@ -47,6 +39,7 @@ const RefreshingGraph = ({
timeRange={timeRange}
autoRefresh={autoRefresh}
showSingleStat={type === 'line-plus-single-stat'}
isBarGraph={type === 'bar'}
displayOptions={displayOptions}
synchronizer={synchronizer}
/>