Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
mkas0001
Contributor III
Contributor III

Data labels positions

Hi guys !

I'm beginner in QlikView.

How can i put data labels below for one expression/line and above for another (just like in attached screen) ?

I cannot solve this question.

Thanks

MK

labels.png

1 Solution

Accepted Solutions
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Download this example from the QlikView Cookbook.

Tutorial - Annotating Chart Data Points http://qlikviewcookbook.com/recipes/download-info/tutorial-annotating-chart-data-points/

Look at the very last example on the "Line Chart" sheet. It demonstrates additional expressions as invisible bars in a Combo chart to position labels. Using a dual() value let's you display the correct value but offset the position one way or another.

This is similar to Marcus's suggestion of using an invisible line but I find it easier with invisible bars.

-Rob

http://masterssummit.com

http://robwunderlich.com

View solution in original post

2 Replies
marcus_sommer

QV isn't very flexible by positioning data-labels. You could try to set the data-labels within the segments but I don't believe it will be enough difference between the two lines.

You could also try to create a third line on a second axis by which the line will be hidden (inactive or with transparent colors) or you used two charts which are overlapping each other (with diverse layout adjustments).

- Marcus

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Download this example from the QlikView Cookbook.

Tutorial - Annotating Chart Data Points http://qlikviewcookbook.com/recipes/download-info/tutorial-annotating-chart-data-points/

Look at the very last example on the "Line Chart" sheet. It demonstrates additional expressions as invisible bars in a Combo chart to position labels. Using a dual() value let's you display the correct value but offset the position one way or another.

This is similar to Marcus's suggestion of using an invisible line but I find it easier with invisible bars.

-Rob

http://masterssummit.com

http://robwunderlich.com