Browse Source

codestyle fixes

pull/16/head
glitch4347 12 months ago
parent
commit
08b128ea91
  1. 6
      react/ChartwerkLinePod.tsx

6
react/ChartwerkLinePod.tsx

@ -95,13 +95,9 @@ export const ChartwerkLinePod = forwardRef<HTMLDivElement, PropsWithChildren<Cha
eventsCallbacks, eventsCallbacks,
} }
); );
setPod( setPod(newPod);
newPod
);
console.log('initial chart render');
newPod.render(); newPod.render();
} else { } else {
console.log('update chart');
pod.updateData(props.series, { pod.updateData(props.series, {
...props.options, ...props.options,
eventsCallbacks, eventsCallbacks,

Loading…
Cancel
Save