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