Loading

OmniStudio FlexCard Chart Axis Does Not Start from Zero When Minimum Data Value is ≥ 1000

Fecha de publicación: Jul 20, 2026
Descripción
When a chart element is placed on an OmniStudio FlexCard and the dataset values are all ≥ 1000, the Y-axis baseline dynamically adjusts to match the minimum value in the data range rather than starting at 0. For example:

  • If the lowest value is 1000 → axis starts at 1000
  • If the lowest value is 2000 → axis starts at 2000
  • If the lowest value is 3000 → axis starts at 3000


Conversely, if the dataset contains any value between 0 and 999, the axis starts from 0.

 

Steps to Reproduce:
  1. Place a chart element on a FlexCard.
  2. Connect it to any data source (e.g., DataMapper).
  3. Ensure the data range for the chart's values element contains only values ≥ 1000.
  4. Preview the FlexCard and observe that the Y-axis starts from the minimum data value (e.g., 1000) rather than 0 when all values are ≥ 1000.
Solución

This is expected behavior. OmniStudio FlexCard's chart element uses dynamic axis scaling — the Y-axis baseline is automatically set to the minimum value present in the data range. This is a standard charting convention designed to improve visual clarity by zooming in on the relevant portion of the data range.

There is currently no built-in configuration option on the FlexCard chart element to force the Y-axis to always start from 0. 

If a fixed zero-baseline is required, consider the following workarounds:

  1. Add a zero-value data point to the dataset to force the axis to include 0 in its range.
  2. Pre-process data in the DataMapper or data source to ensure at least one value falls below 1000 (e.g., include a placeholder 0 value).
  3. Submit an Idea on the Salesforce IdeaExchange if forcing a fixed axis origin is a critical product requirement for your use case.
Número del artículo de conocimiento

005389285

 
Cargando
Salesforce Help | Article