Edit

Display a chart image in Excel

When you perform a GET operation to retrieve a chart image, the Excel API in Microsoft Graph returns the image as a base-64 string. You can display the base-64 string inside an HTML image tag:

 Excel chart image with default height and width.

If you want to customize the display of the image, specify a height, width, and a fitting mode. Here is what the same chart image looks like if you retrieve it with these parameters: Image(width=500,height=500,fittingMode='Fill').