Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Bar Chart Dimension expression doesn't work

Hi all,

is it possible to make the dimension of a bar chart bold depending on specific values and how can I do this? The expression in the dimension tab doesn't seem to work and in the font settings of the axis I can only define the whole dimension as bold or not. Multi-coloring doesn't work either. Hmm...

Hope someone can help me.

Regards,

Daniel

1 Solution

Accepted Solutions
vgutkovsky
Master II
Master II

Interesting problem...see attached (expand the expressions with the + sign to see how this was done).

Regards,

Vlad

View solution in original post

10 Replies
swuehl
MVP
MVP

The manual states:

"When used in tables, the dimension data cells can be

dynamically formatted by means of attribute expressions."

So I don't think this will work for bar chart. You might ask why you are able to set the expressions then, I think this is due to the fact that you could switch between different chart types and the actual displayed chart type just regards the settings it is able to while ignoring others. But I agree this confuses the users and I don't really see an issue why not to format the dimension values for bar chart anyway.

Maybe you could work around this limitation using expression formatting, like formatting the bars themselfes or values / text displayed using values on data points.

Regards,

Stefan

vgutkovsky
Master II
Master II

Interesting problem...see attached (expand the expressions with the + sign to see how this was done).

Regards,

Vlad

swuehl
MVP
MVP

Well done Vlad, even much better looking than I had in mind!

johnw
Champion III
Champion III

It had never occurred to me to replace dimension legends with an expression set to "text on axis".  Clever and simple.  I need to remember that one.

Not applicable
Author

This is really cool. Never thought of that solution. Thanks Vlad!

Anonymous
Not applicable
Author

Nice Solution.

IAMDV
Luminary Alumni
Luminary Alumni

Vlad - This very useful technique. thanks for sharing.

Cheers - DV

swarup_malli
Specialist
Specialist

Vlad -  That was splendid, its a smart solution

Regards

Swarup

Not applicable
Author

hi, vaid

When Legendary Mr. Jhon Wither spoon says outstanding about your work then it is defiantly outstanding. but can u explain that what you done and how it is in bold font.

thanks & regards

bb