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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Legend colour mismatch

Hi. I'm very new to QV (v11.2) and I have a baffling problem.

I have a line chart where I have used an expression to set the colour of one of the lines ("Overall")  to black (I have used the expression =if(Resolver_Group_Name='Overall',black()) to set the Background colour). This expression has successfully updated the line color in the Legend but the colour of the corresponding line in the chart has remained its old colour, green. So what I've ended up with is a colour in the Legend (black) that doesn't match the colour of the line shown in the Line Chart (green).

Does anyone know how to fix this please? I'm totally stumped.

Capture.PNG.png

Message was edited by: Dave O'Reardon - added picture

Labels (1)
8 Replies
anbu1984
Master III
Master III

Can you post sample app

Not applicable
Author

Thank you for helping. Do you mean by QVW file? If so, I can't because it contains sensitive customer data that I am not able to share.

anbu1984
Master III
Master III

Can you provide sample dummy data and your expressions

Not applicable
Author

As_at_Month, Resolver_Group_Name, NPS

Aug 2014, Overall, 70

Sep 2014, Overall, 80

Oct 2014, Overall, 90

Aug 2014, Cloud-Infrastructure, 50

Sep 2014, Cloud-Infrastructure, 60

Oct 2014, Cloud-Infrastructure, 70

Aug 2014, IT Service Delivery, 40

Sep 2014, IT Service Delivery, 50

Oct 2014, IT Service Delivery, 60

Chart Properties->Expressions->NPS->Background Color->Definition=if(Resolver_Group_Name='Overall',black())

anbu1984
Master III
Master III

Setting back ground color works for me. Check this qvw

Not applicable
Author

Unfortunately, I'm using Personal Edition too and so I can't open your QVW. I think you're telling me that you couldn't replicate the problem though. Thank you for trying to help me!

danieloberbilli
Specialist II
Specialist II

I think this is a bug due to some format changes in the chart object. Try to create a new chart object (without too much experimenting in styles/colors/sizes) and I guess it should work 

Not applicable
Author

Thanks Daniel, I'll have a play.