Make CEO gauge preview update as changes are made
parent
0d2b1a6cde
commit
6fdba650ec
|
@ -8,6 +8,7 @@ const DashVisualization = (
|
||||||
axes,
|
axes,
|
||||||
type,
|
type,
|
||||||
name,
|
name,
|
||||||
|
colors,
|
||||||
templates,
|
templates,
|
||||||
timeRange,
|
timeRange,
|
||||||
autoRefresh,
|
autoRefresh,
|
||||||
|
@ -22,6 +23,7 @@ const DashVisualization = (
|
||||||
<VisualizationName defaultName={name} onCellRename={onCellRename} />
|
<VisualizationName defaultName={name} onCellRename={onCellRename} />
|
||||||
<div className="graph-container">
|
<div className="graph-container">
|
||||||
<RefreshingGraph
|
<RefreshingGraph
|
||||||
|
colors={colors}
|
||||||
axes={axes}
|
axes={axes}
|
||||||
type={type}
|
type={type}
|
||||||
queries={buildQueries(proxy, queryConfigs, timeRange)}
|
queries={buildQueries(proxy, queryConfigs, timeRange)}
|
||||||
|
@ -58,6 +60,15 @@ DashVisualization.propTypes = {
|
||||||
}),
|
}),
|
||||||
onCellRename: func,
|
onCellRename: func,
|
||||||
resizerTopHeight: number,
|
resizerTopHeight: number,
|
||||||
|
colors: arrayOf(
|
||||||
|
shape({
|
||||||
|
type: string.isRequired,
|
||||||
|
hex: string.isRequired,
|
||||||
|
id: string.isRequired,
|
||||||
|
name: string.isRequired,
|
||||||
|
value: string.isRequired,
|
||||||
|
}).isRequired
|
||||||
|
),
|
||||||
}
|
}
|
||||||
|
|
||||||
DashVisualization.contextTypes = {
|
DashVisualization.contextTypes = {
|
||||||
|
|
Loading…
Reference in New Issue