Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

bar chart conditionally formatting

Hi All:

i'm new to Qlikview and currenly encouter a problem when formatting the color of bar chart. Just as attathed, i want to color the first three months(Jan, Feb, Mar) to one color and the remaining to anthother color, could anyone help me on this? thanks a lot!!

1 Solution

Accepted Solutions
its_anandrjs

Hi,

See the attached sample file might be you have to use some thing like this in sample file. Otherwise create another inline table for color coding for months and use it for bar colors.

Rgds

Anand

View solution in original post

4 Replies
SunilChauhan
Champion
Champion

if Month  is dimension or exxpression

then click on + sign before Month label

seleect Text Color ->

write the code

if(Month='Jan' or Month='Feb' or Month='Mar',Green(),Red())

see the attched file for example

Sunil Chauhan
its_anandrjs

Hi,

See the attached sample file might be you have to use some thing like this in sample file. Otherwise create another inline table for color coding for months and use it for bar colors.

Rgds

Anand

Not applicable
Author

Thanks anan~ that's what i want. and another question, the chart is a combo chart~ and there is a baseline in the line chart. can i divide the line into two part, which means connect "JAN, FEB March", but don't connect the others? Do you know what i mean?

Not applicable
Author

Thanks Sunnil~! thanks for your help, you have taught me another lesson that how to change the text color, although what i want is to change the background. But, anyway,~ thanks a lot