Symptom
- A custom "CSS class" is applied to a vertical bar chart using the "CSS Class" Name property in the Styling panel.
- Data labels on vertical bar charts shift to the left and are no longer centered when applying "CSS Style" font-size with ".sap-custom-chart-data-labels".
- Removing the "CSS class" restores the correct center alignment.
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."
Read more...
Environment
SAP Analytics Cloud (2026.2.16)
Product
SAP Analytics Cloud 1.0
Keywords
Data, Labels, Vertical, Bar, Chart, Column, Table, Centered, Alignment, Misaligned, .CSS, CSS, .sap-custom-chart-data-labels, Font-size, Size, Font, Styling, Panel, Render, Story, Theme, Custom, Configuration, Creation. , KBA , LOD-ANA-DES , Story Design & Visualizations , LOD-ANA-AD , Analytics Designer , Product Enhancement
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview