I think this is a breaking change: the 'chart' option is not mandatory (it still 'chart?: ApexChart') and the inner main property 'type' (pie, bar etc..) is still preset as MANDATORY property on the vue component: it can be misleading (I have to pass chart options and set type as property).
Hi,
the 'chart' property options now is mandatory because in the version 1.6.0 was added an events assignment:
newOptions.chart.events[event] = ...
see commit 'Ensure that events defined in chart options are called too.'I think this is a breaking change: the 'chart' option is not mandatory (it still 'chart?: ApexChart') and the inner main property 'type' (pie, bar etc..) is still preset as MANDATORY property on the vue component: it can be misleading (I have to pass chart options and set type as property).
Can you add a null check before assign events?
Thank you for all your work!