|
|
@ -45,7 +45,7 @@ export function ChartwerkReactBarPod(props: ChartwerkBarPodProps) { |
|
|
|
// because it creates new pod anyway
|
|
|
|
// because it creates new pod anyway
|
|
|
|
pod.updateData(props.series, props.options); |
|
|
|
pod.updateData(props.series, props.options); |
|
|
|
} |
|
|
|
} |
|
|
|
}, [chart, props.id, props.options]); |
|
|
|
}, [chart, props.id, props.series, props.options]); |
|
|
|
|
|
|
|
|
|
|
|
// TODO: it's a hack to render the BarPod right after the div appears in DOM
|
|
|
|
// TODO: it's a hack to render the BarPod right after the div appears in DOM
|
|
|
|
setTimeout(() => { |
|
|
|
setTimeout(() => { |
|
|
|