Qlik Community

QlikView Layout & Visualizations

Discussion Board for collaboration on QlikView Layout & Visualizations.

Not applicable

Chart with two line dimension

Hello ,

Is it possible to do a dimension with two line on chart ?

Thanks in advance

Tags (1)
11 Replies
sudeepkm
Valued Contributor III

Re: Chart with two line dimension

Do you want to split the ZZZ into two bars?

If so then can you please provide the conditional logic based on which you want to split it

Not applicable

Re: Chart with two line dimension

You can create one expression and add two dimensions to a Line chart. For example you can have dimensions as Year and City and expression as Sum(Sales). Then you will see Year in x-axis and one line for each City. Line represents the Sales for the particular City.

Does that answer your question?

MVP
MVP

Re: Chart with two line dimension

if you want two bars (you asked for lines; lines = bars?) in the chart you posted just add another expression

if you want a line chart with 2 lines you need 2 expression and a line chart (change from bar to line in first tab, general)

1.png

Not applicable

Re: Chart with two line dimension

Hi All,

I want to show the name of 'Category' in two lines. A bar will stay one.

e.g.

ZZZ I would              \ ________________________

like to                      /             

sudeepkm
Valued Contributor III

Re: Chart with two line dimension

I think in a bar chart you cannot wrap the dimension field values. I'll further check and confirm it to you.

Not applicable

Re: Chart with two line dimension

Thanks sudeepkm

Much appreciated

Not applicable

Re: Chart with two line dimension

There is no way to wrap the text. Your only real options are either to make the font smaller, or un-tick "Truncate Label" in which case the label will continue writing over the bottom of the graph. If you hold down Ctrl & Shift after selecting the graph, you can also shrink the graph size so you have more room for the axes to display.

Not applicable

Re: Chart with two line dimension

Hi Byron,

I did Ctrl & Shift but it's looking not nice.

Where can I find "Truncate Label" ?

Not applicable

Re: Chart with two line dimension

You can find it under Axes - See highlighted below. There really isn't a great answer to what you are looking for. Sometimes I just drop the font size as much as possible

Capture.JPG.jpg

Community Browser