## insertChart(chartType, width, height) {#charttype_number_number} Inserts an chart object into the document and scales it to the specified size. ```js insertChart(chartType: Aspose.Words.Drawing.......let doc = new aw.Document(); let builder = new aw.DocumentBuilder(doc);...insertChart(aw.Drawing.Charts.ChartType.Pie, aw.ConvertUtil.pixelToPoint(300)...