diff --git a/caravel/assets/javascripts/explorev2/components/ChartContainer.jsx b/caravel/assets/javascripts/explorev2/components/ChartContainer.jsx index 83728e5457e2c..887738d2b803a 100644 --- a/caravel/assets/javascripts/explorev2/components/ChartContainer.jsx +++ b/caravel/assets/javascripts/explorev2/components/ChartContainer.jsx @@ -32,6 +32,8 @@ class ChartContainer extends React.Component { getMockedSliceObject() { return { + containerId: this.props.containerId, + jsonEndpoint: () => this.props.jsonEndpoint, container: { @@ -62,6 +64,16 @@ class ChartContainer extends React.Component { selector: this.state.selector, + setFilter: () => { + // set filter according to data in store + // used in FilterBox.onChange() + }, + + getFilters: () => ( + // return filter objects from viz.formData + {} + ), + done: () => { // finished rendering callback },