Set text of chart legend entry fill to none using Aspose.Cells
Contents
[
Hide
]
If you want to set the text of the chart’s legend entry fill to none so that it should not display inside the chart legend then please set the LegendEntry.IsTextNoFill to true.
The following sample code sets the text of the chart’s second legend entry fill to none. Please download the sample excel file used in this code and the output excel file generated by it for your reference.
The following screenshot highlights the effect of this code on sample excel file.