Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

background color in chart

Hi ,

Can I create the chart like below in qlikview

images.png

In above chart , above, below and average should be in different color and it should be dynamic i.e values of above average and below can be changed

5 Replies
Anonymous
Not applicable
Author

I do not think you can.

Gysbert_Wassenaar

Create a combi chart with year as dimension and with four expressions. One for the line and the other three as segments of a stacked bar.

Below: =ValueOfBelow

Average: =ValueOfAverage - ValueOfBelow

Above: =ValueOfAbove - ValueOfAverage - ValueOfBelow

Select Stacked as Subtype on the Style tab

Set the Cluster Distance on the Presentation tab to 0.

Click on the + in front of the expression on the Expressions tab, select Background Color and enter a color expression in the Definition field like for example color(1) or red()

If you want users to be able to change the values for Above, Average and Below then use variables for the values and give users the option to change them with for example input boxes or sliders.


talk is cheap, supply exceeds demand
Not applicable
Author

Hi Gysbert,

can you please share the QVW file?

vinieme12
Champion III
Champion III

sample for reference, per gysbert's solutions

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
Anil_Babu_Samineni

Yes it's possible.

Recently same situation I created for bubble chart. But, if those expression should be different.

Can you please let me know your dimension and expressions or else please share me he sample application

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful