You can use straight tables to create legends. Create the straight chart add the dimension, add any expressions you need and remove totals, the header, the caption, make cell borders transparent etc. The example posted here has such a fake legend hovering on top of the chart.
thanks for your input.
I saw the example app and tried it out. It got what I wanted, fast and neat.
For those who need another example.
As an add on - A Color Trick | Qlikview Cookbook
Thanks for sharing!