improve agcharts2

This commit is contained in:
Ruben Fiszel
2024-05-15 06:30:42 +02:00
parent 9474e7c68a
commit 4300a8f6f5

View File

@@ -48,7 +48,7 @@
loading: false
})
let result: undefined = undefined
let result: undefined | any = undefined
const resolvedConfig = initConfig(
components['agchartscomponent'].initialData.configuration,
@@ -215,10 +215,12 @@
return
}
if (typeof result !== 'object') {
return
}
const options = {
container: document.getElementById(`agchart-${id}`) as HTMLElement,
data: result?.['data'],
series: result?.['series']
...result
}
outputs.result.set({