[Interest] Qt Charts: Making the legend top and right aligned

Christopher Probst christop.probst at gmail.com
Wed Apr 11 15:51:16 CEST 2018


I would like to place the legend of  chart that uses Qt charts at the top
right of the view. I would have expected something like this to work:

 m_chart->legend()->setAlignment(Qt::AlignTop| Qt::AlignRight)

Unfortunately it does not! Is there a direct way to  make the legends
(right or left) be top aligned rather then middle.?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180411/9ac1365d/attachment.html>

More information about the Interest mailing list