WidgetsChartChart APIChart methodsdestructor()destructor()removes a chart instance and releases the occupied resourcesdestructor(): void;Examplechart.destructor();