Rich Text Custom Data Label of Chart Point
Contents
[
Hide
]
You can use Aspose.Cells to create rich text custom data label of the chart point. Aspose.Cells provides the DataLabels.characters() method to return the FontSetting object which can be used to set the font properties of the text like its color, boldness, etc.
Rich Text Custom Data Label of Chart Point
The following code accesses the first chart point of the first series, sets its text and then sets the font of the first 10 characters by settings it’s color to red and boldness to true.