In my Angular 10 project, I utilized the following function to draw Kendo Charts on Donut Chart
public visual(e: SeriesVisualArgs): Group {
// Obtain parameters for the segments
this.center = e.center;
this.radius = e.innerRadius;
// Create default visual
return e.createVisual();
}
I encountered the error shown below
ERROR in src/app/modules/sidenav/dashboard/dashboard.component.ts:85:5 - error TS2740: Type 'Element' is missing the following properties from type 'Group': children, append, clear, insert, and 2 more.
85 return e.createVisual();