Set Picture as Background Fill in the Chart
Contents
[
Hide
]
Aspose.Cells for Python via .NET allows you to set a gradient, texture, pattern or picture as fill effects for different objects, such as the plot area, chart area, or legend box of a chart. This document shows how to add an image to a chart’s background.
To achieve this, Aspose.Cells for Python via .NET provides the Chart.plot_area.area.fill_format.image_data property. The following code sample demonstrates the use of Chart.plot_area.area.fill_format.image_data property to set a picture as a background fill in the chart.
C# code to set picture as background fill in the chart