change position of the legend's items
Brought to you by:
rathmann
From: Gabriel <gab...@ho...> - 2007-03-14 11:22:41
|
Hello Im trying to change the position of the legend. To do it, I write: QwtPlotLayout *layout = plot->plotLayout(); layout->setLegendPosition(pos); This change the position of the legend, but I would like change the internal organization (legend's items organization). When I change the position of the legend to Bottom or Top, the legend's items stay with the same organtization than before, that is to say, with one column and they don't change to a multiple column organization The legend is created as follows: plot->insertLegend(new QwtLegend(), QwtPlot::RightLegend); Maybe, I have to create it in another way, but i don ´t know how Thank you |