Qlik Community

QlikView Documents

Documents for QlikView related information.

Qlik Analytics Tour 2020 Online. Begins August 10th. Register Today

Line chart conditional coloring (reference line)

Master II
Master II

Line chart conditional coloring (reference line)

Sometimes there is a requirement of coloring a line chart depending on some reference value.

Background color expression is not always suitable, because the line segments are colored according to the start point.

As a workaround I suggest to use another approach based on a background image.
Usually it doesn’t contradict with the requirements because the areas above and below are just as important as the reference value.

Shortly it’ can be described in three steps:


  1. Background image
  2. Dynamic Min/Max calculation
  3. Dynamic reference calculation


These steps are described in the doc.

The sample is also attached.

Version history
Revision #:
1 of 1
Last update:
‎2014-01-27 09:44 AM
Updated by: