Skip to content

Chart.vue : Error in v-on handler: "TypeError: this.emit is not a function" #188

Closed
@Hasi105

Description

@Hasi105

this.emit('select', {originalEvent: event, element: element[0], dataset: dataset});

to

this.$emit('select', {originalEvent: event, element: element[0], dataset: dataset});

$ was not set at VueComponent.onCanvasClick

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type: BugIssue contains a bug related to a specific component. Something about the component is not working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions