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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to include Legend names in side the BAR CHARTS..

Hi,

I would like to see       Legend names (or to include some text) inside the BAR CHART.

Is it possible to do anything with EXPRESSION ?

In the following example  , I would like to see "MAXIMUM SALES OF......."  text inside the BAR CHART


1 Solution

Accepted Solutions
marcus_sommer

Maybe there are other settings which prevent the displaying inside the bar. Are there any other expressions/dimensions which are disabled or hiding? Do you use a bar-chart or a combi-chart? And probably some more ... and I see on your screenshot that the legend-settings are disabled - this happens if there any conflicts between certain settings (Ihave had this topic before but don't remember actually which one) - and for me it's working:

- Marcus

View solution in original post

6 Replies
marcus_sommer

For this you could enable within the tab presentation (area mid-left) the displaying within the segments and in vertically and as expression to use a dual-function, like:

dual('Sum({$} Sales) = ' & Sum({$} Sales), Sum({$} Sales))

- Marcus

Anonymous
Not applicable
Author

Hi,

Sorry , I am unable to find the options , you have mentioned in PRESENTATION tab.

Please help me.....

I

INCLUDE TEXT IN BAR CHART.png

marcus_sommer

You have them already enabled:

Anonymous
Not applicable
Author

In Expresssion ;

=dual('Sum({$} AMOUNT) = ' & Sum({$} AMOUNT), Sum({$} AMOUNT))

But I am still seeing the values OUTSIDE THE bars .. Is there anything I missed ?

PFA of BARCHART AND PRESNTATION OPTIONS.

BAR CHART.png

PRESENTATION TAB OPTIONS.png

marcus_sommer

Maybe there are other settings which prevent the displaying inside the bar. Are there any other expressions/dimensions which are disabled or hiding? Do you use a bar-chart or a combi-chart? And probably some more ... and I see on your screenshot that the legend-settings are disabled - this happens if there any conflicts between certain settings (Ihave had this topic before but don't remember actually which one) - and for me it's working:

- Marcus

Anonymous
Not applicable
Author

Thanks , I have got it ...t

here is one more SHOWTEXTVALUE mentioned in EXPRESSION. This is preventing the LEGEND to go inside...