Hi Friends,
i need to create the custom legend ... so that i can bring the legends inside the plot canvas....
that means i wanted to change the Qwt Legend Position as per my wish...but By default Qwt provide the legend postions( LeftLegend,
RightLegend,
BottomLegend,
TopLegend,
ExternalLegend)......
i am creating the legend by :
insertLegend(new QwtLegend(), QwtPlot::RightLegend);
defaultcurve->setLegendAttribute(QwtPlotCurve::LegendShowLine,t rue);
defaultcurve->setLegendAttribute(QwtPlotCurve::LegendShowSymbol ,true);
please go through the "gnuplot.png & qwtplot.png" image files...
my client want exactly the same legend location as it in the "gnuplot.png"...
so to achieve this what i need to do?... as well as i wanted to increase the length of the legend line
i need to overload the qwt legend class????? or qwt legend item class??
please provide some code example... that will be highly helpful...
Thanks,
Muthu
Bookmarks