Hi there,
I am working with the Views App in Celonis Studio, and one of my graphs is a stacked barchart, with two KPIs.
I am looking for a way to set the color for each KPI separately.
I already found a way to include diverging colors for both KPIs treated as one group, but that is not optimal because I cannot choose the color that I want since there are not so many options for that setting. So I would like to set the color for each KPI independently.
The YAML Code looks like this
id: chart-xxxxxx
type: chart
settings:
name: NAME
showLegend: true
# colors: DIVERGING_RED_TO_GREEN (THIS IS THE LINE I WANT TO REPLACE)
encodings:
x:
field: RECORD.ATTRIBUTE
type: ordinal
visuals:
- mark:
type: bar
bandwidth: 0
encodings:
y:
stack:
- KPI1
- KPI2
legend: true
id: b9ddxxxx
order: 100
sortBy: ]
limit: 1000
Thank you very much!
Best regards,
Javier