BTA Charts
Shared Concepts

Axes

BTA chart visuals expose independent controls for the X axis and Y axis. Each axis can be shown or hidden and styled with its own font family, size, weight, and color. X-axis labels also support automatic or manual rotation to handle long category names.

X Axis Settings

PropertyTypeDefaultDescription
showXAxisbooleantrueShow or hide the X axis
xAxisFontSizenumber0 (auto)Label font size; 0 = auto, 640 = fixed
xAxisFontFamilystring""Font family for labels; empty string inherits from the report theme
xAxisBoldbooleanfalseRender X-axis labels in bold
xAxisItalicbooleanfalseRender X-axis labels in italic
xAxisUnderlinebooleanfalseRender X-axis labels with underline
xAxisColorstring""Hex color for label text; empty string inherits theme color
rotateXLabelsRotateLabelsMode"auto"How to rotate X-axis labels (see below)

rotateXLabels — Label Rotation Modes

ValueBehavior
"auto"The visual detects available space and rotates labels only when they would overlap
"always"Labels are always rendered at 45° regardless of available width
"never"Labels are never rotated; they may be truncated if space is tight

Y Axis Settings

PropertyTypeDefaultDescription
showYAxisbooleantrueShow or hide the Y axis
yAxisFontSizenumber0 (auto)Label font size; 0 = auto, 640 = fixed
yAxisFontFamilystring""Font family for labels; empty string inherits from the report theme
yAxisBoldbooleanfalseRender Y-axis labels in bold
yAxisItalicbooleanfalseRender Y-axis labels in italic
yAxisUnderlinebooleanfalseRender Y-axis labels with underline
yAxisColorstring""Hex color for label text; empty string inherits theme color

Tips

  • Use rotateXLabels: "auto" in most cases. The visual will only rotate when labels would collide, keeping the chart clean at large sizes.
  • Use rotateXLabels: "always" when category names are consistently long and you want predictable label placement regardless of container width.
  • Use rotateXLabels: "never" in narrow small-multiples panels where rotated labels would consume too much height.
  • Setting xAxisColor or yAxisColor to a specific hex overrides the report theme — useful for accessibility (e.g., higher contrast labels) without changing the full theme.
  • Bold axis labels (xAxisBold: true) are effective on dashboards with multiple charts, where you want to draw attention to axis identifiers.
  • Hide an axis (showXAxis: false or showYAxis: false) when the data labels on the bars or points already make the scale self-evident, freeing up chart space.

On this page