Qlik Community

QlikView Layout & Visualizations

Discussion Board for collaboration on QlikView Layout & Visualizations.

Highlighted
Partner
Partner

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

Tags (1)
1 Solution

Accepted Solutions
flipside
Valued Contributor II

Re: Reduce the size of a bar chart

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

9 Replies
Not applicable

Re: Reduce the size of a bar chart

Hi,

you can send me an example?

Rebeca

Not applicable

Re: Reduce the size of a bar chart

Capture.PNG

Partner
Partner

Re: Reduce the size of a bar chart

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

Not applicable

Re: Reduce the size of a bar chart

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

Re: Reduce the size of a bar chart

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

Partner
Partner

Re: Reduce the size of a bar chart

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

Partner
Partner

Re: Reduce the size of a bar chart

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

flipside
Valued Contributor II

Re: Reduce the size of a bar chart

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

Partner
Partner

Re: Reduce the size of a bar chart

Done.

Thanks All

Beppe