Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
fernandotoledo
Partner - Specialist
Partner - Specialist

Block Chart Caption doesn´t keeps dinamic color configuration!

Hi everybody!

I´m trying to create a block chart with two dimensions and dinamic colors.

I tried to set the first dimension caption color dinamically (as an expression like if(this,rgb(...),rgb()) ).

error loading image

But when I hit ok the chart resolves the expression, take the result as the same color for every dimension value and the epression disapears!

Looks like a bug to me, since the EXPRESSION panel is enabled. Didn´t work in QV9 nor QV10.

See the image to understand where the problem is.

Best regards

Fernando

8 Replies
Not applicable

Hi!

I have some problems with color too.

I solve it via variables.

In calculation dimension i put just variable(for example vColor), in other place i change it, for example on button click (if ( this, vColor = 'RGB(...)', vColor = 'RGB(...)')

Try that, in my case it works fine.

Anonymous
Not applicable

I've the same problem: I've a Bar chart with and expression "exp" I've setted up a colour expression for my expression like: "if(exp
Anonymous
Not applicable

I've the same problem: I've a Bar chart with and expression "exp" I've setted up a colour expression for my expression like: "if(exp<0,RED,GREEN)"

I'd like to have a chart with a bar green or red if the exp is >0 or <0...

fernandotoledo
Partner - Specialist
Partner - Specialist
Author

The problem is that, even using variables, the expression is erased when closing the properties window. Strange, isn´t it?

Not applicable

Normal 0 false false false RU X-NONE X-NONE MicrosoftInternetExplorer4

That's my calculated color :

if(vDim03 like 'some exp.',$(vColorBtAct),$(vColorBtInact))

vDim03 - I change on some action, it doesn't matter. All works fine.

Can you write in what case color must change?

kji
Employee
Employee

The color for this is flagged internally as not calculable, which however is unfortunately not reflected in the UI. Furthermore, the only color settings that is evaluated on a per value basis in a chart is the Background Color and Text Color subexpressions.

Not applicable

Normal 0 false false false RU X-NONE X-NONE MicrosoftInternetExplorer4

Sorry, Johan, but i don't get it.

You say that color can't change dynamic by some action?

But I change color of caption, by some action.

My English is poor, so that I don't understand you can be not your fault, but can you explain one more time, what you mean on "not calculable"? : )

fernandotoledo
Partner - Specialist
Partner - Specialist
Author

So, like Johan said, it seems to be "working as designed"

Confused