is there a way to force data labels in horizontal ...
# gooddata-cloud
m
is there a way to force data labels in horizontal bar charts to always stay outside of the bars and never overlap or get clipped? Is there a native dashboard setting for this, or is it only possible via custom visualization / SDK?
k
Based on the knowledge sources, there is no native dashboard setting to force data labels to always appear outside bars and never overlap or get clipped in GoodData's built-in chart editor. Here's what is available: Native
dataLabels.visible
options
(via
IChartConfig
): The
"auto"
setting is the closest native option to what you're describing — it prevents overlapping. [Bar Chart docs; IDataLabelsVisible] There is also a
data_labels_style
property that accepts
"auto"
or
"backplate"
, which controls the visual style of labels, but this does not directly control label positioning outside bars. [VisualisationConfig docs] For forcing labels strictly outside bars and preventing clipping, the knowledge sources do not document a native dashboard-level setting for this specific behavior. As noted in a community discussion, for full control over label placement and behavior, the recommended path is the GoodData.UI SDK with custom visualizations — though this is acknowledged as a heavier lift for BI teams. [Community Slack] In summary:
"auto"
is the best native option
to reduce overlap, but granular control over label positioning (always outside, never clipped) is only achievable via the SDK/custom visualization path. 👍 0 button 👎 0 button ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups. 👀 Our Support team monitors all messages and will jump in if needed., with interactive elements