Skip to content

'chart' property options now is mandatory with 1.6.0 version #115

@IGionny

Description

@IGionny

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions