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

Guage Chart

Hi,

I have a guage chart (Thermometer) to diplay 5 different values as 5 segments. I am able to see the 5 values but the colour coding is not getting changed accordingly. I have defined the expression in the Segments. How to acheive the segments size should change according to the value of expression.

Regards,XXX

3 Replies
Not applicable
Author

Hi,

Uncheck the "Autowidth Segment" option on presentation tab under chart properties and then specify the minimum value for each segment

For Example:- if you have three segments.

1. Add three segments to the chart

2.For first segment the value "Lower Bound" should be the minimum value (ie 0)

2.for second segment it should be the expression which represent the start of the second color.

3.for third segment it should be the expression which represent the start of the third color.

if you want to display three segments "Green", "Yellow" and "Red"

the "Green" segment is 0-5 the "Yellow" segment is 6-10 and the "Red" segment is 11 and Grater

then the lower bound for Green is 0

then the lower bound for Yellow is 6

then the lower bound for Red is 11

these values 0,6 and 11 can also be defined through expressions.

like

=sum(x) etc. depending upon your application requirements.

May be this will help you,

Thanks & Best Regards,

Kuldeep Tak

Not applicable
Author

Make sure when defining the segments that they are in ascending order

e.g

Segment 1; Lower Bound = 0.0

Segment 2; Lower Bound = 1.0

Segment 3; Lower Bound = 2.0

Can you post the example!

Not applicable
Author

Hi ,

I have tried the same way what it was given here but not working.

I have not given the Constants but i have given the expression for the runtime value. Is it the reason the segment colour is not changing accodingly.

Regards,XXX