Browse Source

remove todo

merge-requests/3/head
vargburz 3 years ago
parent
commit
b6f447f55d
  1. 2
      src/components/Panel.tsx

2
src/components/Panel.tsx

@ -22,8 +22,6 @@ export function Panel({ options, data, width, height, timeZone, timeRange, onCha
let chartContainer = useRef(null); let chartContainer = useRef(null);
// we request animation frame here because at the moment we need an existing DOM-element at the moment we render the pod // we request animation frame here because at the moment we need an existing DOM-element at the moment we render the pod
window.requestAnimationFrame(() => { window.requestAnimationFrame(() => {
// TODO: pass datapoints
// TODO: pass options
// TODO: switch / case pod type // TODO: switch / case pod type
const pod = new ChartwerkGaugePod( const pod = new ChartwerkGaugePod(
(chartContainer as any).current, (chartContainer as any).current,

Loading…
Cancel
Save