Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
gdilullo
Partner - Contributor III
Partner - Contributor III

Reduce the size of a bar chart

Can I reduce the size of a bar chart(histogram)? I could only find a way to reduce the text on the graph (from the property), but not the bars on the axes.

Is it possible?

Thanks

Beppe

1 Solution

Accepted Solutions
flipside
Partner - Specialist II
Partner - Specialist II

You can stop the bar chart starting at zero if you uncheck Forced 0 on the Axes tab and could shorten long bar lengths. Also, when the object is selected, press Ctrl+Shift (keeping them pressed) and the object components will show a red keyline around them whereby they can be dragged into different positions/sizes. This may help.

flipside

View solution in original post

9 Replies
Not applicable

Hi,

you can send me an example?

Rebeca

Not applicable

Capture.PNG

gdilullo
Partner - Contributor III
Partner - Contributor III
Author

But I don't know why I can't change the size of the bars (Symbol Size and Line/Symbol Settings).

Not applicable

Depends on the chart you choose.

If you choose a Line Chart you can control the line properties.

But you can change the bar settings

Not applicable

Hi

U can try below script..Change DimensionName

 

=

If (len(Trim([DimensionName]))>30,Left([DimensionName],15)&chr(10)&Mid([DimensionName],16,15)&Chr(10)&Mid([DimensionName],31),
If (Len(Trim([DimensionName]))>15,Left([DimensionName],15)&chr(10)&Mid([DimensionName],16),[DimensionName]

))

After edit ur dimension field,it will be looks like below

bar chart.JPG

Hope after try this not necessary to reduce the size of a bar chart.

Regards-Bika

gdilullo
Partner - Contributor III
Partner - Contributor III
Author

So I can't reduce the bar's length. But is it possible have the text on multiple lines? My problem is that the description (text) in the graph is cut.

screen.JPG

gdilullo
Partner - Contributor III
Partner - Contributor III
Author

This script doesn't work in my chart because It cut the description

flipside
Partner - Specialist II
Partner - Specialist II

You can stop the bar chart starting at zero if you uncheck Forced 0 on the Axes tab and could shorten long bar lengths. Also, when the object is selected, press Ctrl+Shift (keeping them pressed) and the object components will show a red keyline around them whereby they can be dragged into different positions/sizes. This may help.

flipside

gdilullo
Partner - Contributor III
Partner - Contributor III
Author

Done.

Thanks All

Beppe