Loading

How To Fix Color Separation Rather Than Gradient in Line Chart

Date de publication: Apr 24, 2025
Description
When placing ATTR discrete dimension to color in a line chart, the line gets gradient as below. How can I set a fixed color separation?
User-added image

Cause

The ability to fix color separation in a line chart is currently not build in a product.
 
Résolution
A possible workaround to use dual axes of line and circle.
User-added image

Here are steps demonstrated in the attached workbook.
  1. Place Order Date to columns and select continuous year.
  2. Place Sales to rows.
  3. Place Category to color and right click to set to Attribute.
  4. Place one more Sales to columns and right click Dual Axis.
  5. Open SUM(Sales) mark card and remove Category from color.
  6. Open SUM(Sales)(2) mark card and change mark type to Circle.
  7. Right click the right Y axis and click Synchronized Axis.
Numéro d’article de la base de connaissances

001472357

Pièces jointes

SepatedColorLine.twbx

1187 KB

 
Chargement
Salesforce Help | Article