Rich Text Custom Data Label of Chart Point with Golang via C++
Contents
[
Hide
]
You can use Aspose.Cells to create a rich text custom data label for a 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, such as 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 changing their color to red and making them bold.