Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Qlik Community
Is it possible to remove just the 2nd dimension on a stacked bar chart? See picture below for clarification.
I would like to display the axis title for dim1 but the dim2 just clutters the view. Is there a way?
Chart:
My chart logic:
Any help is appreciated
Casper
Hi @CasperQlik
I think it cannot be removed directly. But if you rename the label as chr(0), it will appear blank seeming it is no longer there like in the image below.
Kind Regards
Daniel
Hi @CasperQlik
I don't think the comma can be removed. The chart is not designed to not display one of the dimensions.
There is other solution but it is a bit ugly. You can use a Layout Container, put the stack barchart inside and above the x axis, a text object with the title you want. Like in the image below (note that in this image I left the outer lines for the text object to mark it, but you can remove them to make the trick that the title belongs to the chart):
Kind Regards
Daniel
Hi @CasperQlik
I think it cannot be removed directly. But if you rename the label as chr(0), it will appear blank seeming it is no longer there like in the image below.
Kind Regards
Daniel
I already tried something similar. The issue is it leaves a "floating" comma after the remaining dim.
Hi @CasperQlik
I don't think the comma can be removed. The chart is not designed to not display one of the dimensions.
There is other solution but it is a bit ugly. You can use a Layout Container, put the stack barchart inside and above the x axis, a text object with the title you want. Like in the image below (note that in this image I left the outer lines for the text object to mark it, but you can remove them to make the trick that the title belongs to the chart):
Kind Regards
Daniel