Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Dayna
Creator II
Creator II

Showing today on a chart

Hello All,

This might sound silly, but I want to make it obvious on a bar or line chart where today is. I have multiple dimensions and expressions, and one of the dimensions will be date or week/year.

I was thinking of doing an IF statement on the colour to change for today(), but then the legend gets screwed up..

Any ideas? I just want to make it obvious to the users where the current date is on the chart!

Kind Regards,
Dayna

Labels (1)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Hi Dayna,

Maybe this is what you are looking for?

Check file.

View solution in original post

17 Replies
deepakk
Partner - Specialist III
Partner - Specialist III

hi Dayna,

PFA

Dayna
Creator II
Creator II
Author

Hello Deepak,

Thank you for your quick reply, unfortunately if you have more than one expression the legend doesn't work...

Kind Regards,

Dayna

deepakk
Partner - Specialist III
Partner - Specialist III

hi,

Then in each expression you have to do it.

Dayna
Creator II
Creator II
Author

Hello Deepak,

That isn't the solution I need, as I have already done it (please see my original post).

If one of my dimensions is Part, then I want the legend to show a different colour for each part (20+), but using the colour in the chart will break this which is no good. I need the users to be able to view which line belongs to each site/part.

I already did your original post but changed the colour to black for each expression, but this won't work.

Regards,
Dayna

deepakk
Partner - Specialist III
Partner - Specialist III

HI Dayna,

Can you attach a sample file, I will like to see it.

Dayna
Creator II
Creator II
Author

Hello Deepak,

Please find attached, this isn't my data but will present my problem.

Dayna

deepakk
Partner - Specialist III
Partner - Specialist III

HI Dayna,

If legend is a problem. It would be better to disable it and use a text object to display legend

like create green color text box and write a name as FLN. Similarly for Others. IN this way you will be able to show an indication to user on Today date and also will be able to show the legends.

Dayna
Creator II
Creator II
Author

This is only a small example, in my actual application I would have 100+ products shown, so it wouldn't be feasible.

Is there any other route I could go down, instead of changing the colour of the bar maybe add another bar or blob that shows todays date?

deepakk
Partner - Specialist III
Partner - Specialist III

hi,

How about changing only the text color instead of Background.?