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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Line Chart: Set a Background Color by Range

Hello,

I have a line chart with 2 dimensions:

X axis: time (hh:mm:ss AM/PM)

Y axis: total value

What I need is to set a background colour for a time period like this:

Chart.png

For example, from 6:00:00 PM to 11:15:00 I need to paint it with a green background and so on with other ranges.

Do you know how could I do that?

Thank you!

1 Reply
Not applicable
Author

Hi, there you have an approach attached, there is not a native way to do this, but you can try something with this example.

In the second expression into the combined chart, in the '+' simbol you have the expression properties, there you must define into "Background color" propertie the ranges of dates and the needed color following the little example.

Hope it helps!

Best Regards

Jonathan.