Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I am trying to apply custom colors for bars in bar graph.
my expression for each bar in graph is below
1.)sum(vegetables)/sum(groceries)
2.)sum(fruits)/sum(groceries)
3.)sum(bananas)/sum(groceries)
How could i apply different custom colors to these bars.Please help me on this.
try
=if(sum(vegetables)/sum(groceries),Red(),Green())
Hi
thanks for reply,
Where should i apply this,
in data or Appearenc?
Hi,
apply it in the background color.
can you share the app?
Hi,
i have attached snippet of my work
here i have expression for different bars, how could i apply color for this each bars.
Hi,
You can go to the chart properties. Follow below steps
1. use Edit Mode
2. Click on Bar Chart
3. on the right panel, click on Appearance > Colors and legend
4. switch on the custom Colors and then select By measure on the dropdown option
hi
try below
HI,
here i have 3 bars with different 3 condition(expression) , how could i use my above code in expression.
Please help me on this.
can u share qvf? orelse share ur expresions?