Qlik Community

QlikView Documents

Documents for QlikView related information.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.

Line chart conditional coloring (reference line)

whiteline
Honored Contributor 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.

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