PDA

View Full Version : Set Title for QWTLegend...



umulingu
23rd March 2010, 04:33
Hai
I am using qwtplot in my program. I want to set the title for legends [LEGEND TITLE] in qwtplot.
Is it possible to set with QwtPlotMarker or anything else...



I have attached a file like that I want the output .


pl suggest me...


by
Sura
Bangalore

Uwe
23rd March 2010, 06:49
Use QwtPlot::ExternalLegend and implement your own layout with a QLabel on top.

Uwe

umulingu
23rd March 2010, 09:26
Hai Uwe Thanks for ur reply.

now i kept QwtTextLabel and display some text in the top of the legend frame.
but, if am going to print that QwtTextLabel not coming .

is there any other way

umulingu
23rd March 2010, 09:28
Hai Uwe Thanks for ur reply.

now i kept QwtTextLabel and display some text in the top of the legend frame.
but, if am going to print that QwtTextLabel not coming .

is there any other way to print QwtTextLabel along with QwtPlot?