Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
krzohi
Contributor III
Contributor III

Combo chart background color

I am trying to show production breaks in gray as the background color. Is this possible somehow?

krzohi_0-1658130093026.png

 

 

Labels (2)
13 Replies
MendyS
Partner - Creator III
Partner - Creator III

hi

you can use some app to sample the color (like JCP and other),

and add the value color in tab appearance -> color and legend

krzohi
Contributor III
Contributor III
Author

Hi MendyS,

i can see there only option to change line color base on condition, not background color.

MendyS
Partner - Creator III
Partner - Creator III

can you send a screenshot?
which version do you have?

krzohi
Contributor III
Contributor III
Author

Qlik Sense August 2022 (qliksenseserver 14.78.0)

krzohi_0-1658388798957.png

 

MendyS
Partner - Creator III
Partner - Creator III

hi @krzohi 

pick the option 'by expression' 

and enter the condition that you want (in my example - if the number of objects is bigger than 100000 - pic 1),

and put a hex color or color func (pic 2 ).

 

MendyS_1-1658646166845.png

 

 

MendyS_0-1658646127315.png

 

krzohi
Contributor III
Contributor III
Author

Hi @MendyS,

i think you missunderstand my issue.

I want to color the background of chart to show production breaks. Breaks have differend durations (e.g. 10min, 20min, 30min, ... ) and i have to show it on timeline, and i cannot set differend width for silmple bars.

edwin
Master II
Master II

can you pls clairfy if you want to set the CHART background color (light gray in your pic) or are you referring to the BAR color (dark gray)

and is your question how to set the width of the BAR?  as it appears the bar at 20 is wider than at 12 

MendyS
Partner - Creator III
Partner - Creator III

@krzohi 

If you can identify the breaks,

then what's the problem, so put that the calculation in the expression  

krzohi
Contributor III
Contributor III
Author

Hi @edwin @MendyS 

lets start from beginning

i have chart with produced pieces over work day and i need to show when was production breaks. 

i have data when each break start/end

i can't use bar chart becasue i can't set differend width for each bar, and start/end of break must match timeline

 

krzohi_0-1658830375943.png