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

Announcements
Mastering Change Data Capture: Read Now
cancel
Showing results for 
Search instead for 
Did you mean: 
bonaiti
Contributor II
Contributor II

Background colour

Hello. is it possible to calculated a background colour in a gant chart?

For exemple i want to color RED the background for the hour between 12.30 and 14:00.

Thank You

1 Reply
Not applicable

Yes, that is possible.

In the sample image you can see Base Color -> Calculated. There you could add color ranges using IF-statements, the Class() statement (creates ranges) or use the Colormix Wizard (perhaps as a starting point). There are probably more options.

Sample of an IF-Statement: IF(Hour>a AND Hour<b, RGB(255,0,0), IF(Hour>=b AND Hour<c, RGB(255,10,0), IF( ...

The ColorMix Wizard can be started like this: open the edit window for the calculated color (button with points in the field when you select the field). Go into menu File and you will see the option Colormix Wizard.