|
|
|
@ -20,7 +20,7 @@ export function Panel({ options, data, width, height, timeZone, timeRange, onCha
|
|
|
|
|
const chartwerkOptions = new Options(options).getChartwerkOptions(); |
|
|
|
|
|
|
|
|
|
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 we need an existing DOM-element at the moment we render the pod
|
|
|
|
|
window.requestAnimationFrame(() => { |
|
|
|
|
// TODO: switch / case pod type
|
|
|
|
|
const pod = new ChartwerkGaugePod( |
|
|
|
|