[Vuejs]-Triggering resize of Kendo UI Chart in VueJS?

1👍

Found a way to access the resize method, although not an entirely clean solution:

get chartWidget(): any {
  return (this.$refs.chart as KendoChart).kendoWidget() as any;
}

// eslint-disable-next-line no-underscore-dangle
this.chartWidget._resize();

Interested in hearing a better way which would also work with correct types.

Leave a comment