Font Formatting Support for Chart Data Labels via API

Description:

Currently, the OnlyOffice Spreadsheet API does not provide methods to programmatically format the font properties of chart data labels. This limitation prevents developers from creating fully customized, professional-looking charts through macros and scripts.

Requested Feature:

Add support for formatting chart data label fonts via the API, including:

  1. Font Type/Family - Ability to set font name (e.g., “Arial”, “Calibri”, “Times New Roman”)

  2. Font Size - Ability to set font size in points (e.g., 8, 10, 12, 14, 16, etc.)

  3. Font Color - Ability to set text color using RGB values or hex codes

  4. Bold - Ability to toggle bold weight on/off

  5. Italic - Ability to toggle italic style on/off

  6. Underline - Ability to toggle underline on/off

Current Limitation:

While data labels can be enabled/disabled and positioned through the API using methods like SetShowSerName(), SetShowVal(), and SetPosition(), SetShowDataLabels SetShowPointDataLabel there is no way to modify the font formatting of these labels programmatically.

Hello @RHunter

I have moved the topic to the subcategory of Suggestions. We’ll review this suggestion and I’ll provide a feedback.

UPD: the enhancement 81010 has been registered, once any news comes up we’ll let you know.