Solved How to achieve this Ui?
-
Hi,
I want to know how to do this,Image
It is a combination ofQwtPlotCurve
objects and I want to know how they combined together in aQwtPlotCanvas
? -
@thippu
Hi
are you sure its not multiple QwtPlotCanvas
on same form ?QwtPlotCanvas (QwtPlot *=NULL)
seems to accept one plot. -
@mrjj Sorry, I'm not sure.
can we able to set commonx axis
and differenty axises
to the eachQwtPlotCanvas
?
if yes, could you say me how to?
I'm searching for it. -
Hi
I think you can set it via setAxisScale
for each plot. and hence for each Canvas. -
@mrjj okay, I will look at it, Thank you
-
@mrjj I want to make each
QwtPlotCurve
on theQwtPlot
to have different Yaxis and share common x Axis O/P imgCan I get some thoughts from you? ,
what I'm thinking is either assigning eachQwtPlotCurve
to newQwtPlotCanvas
and combiningQwtPlotCanvas
objects into singleQwtPlot
but I should have to share x axis amongQwtPlotCanvas
and different yaxis to eachQwtPlotCanvas
-
@thippu Sorry, I said
QwtPlotCanvas
instead ofQwtPlotCurve
-
I did search a lot on this, I got some information, I would like to share with you,
To achieve this kind of user interface, We can refer "plotmatrix" the QWT playground example -
@mrjj Could you explain this more how to do in steps? please.
I have 32 QwtPlotCurves and I would like to put the same x axis for all but different y axis for each curve. -
@thippu
Hi
But the sample already sets
setAxisScale
https://github.com/eiimage/qwt/blob/master/examples/plotmatrix/main.cppso which part is not working as intended ?
-
@mrjj I have developed this
There are 32 curves displaying and getting data from the socket and updating them.
I would like to achieve this:
If a user selects one of the curves by clicking on the curve and scrolls up(mouse scroll) selected curve should expand in Y(its own y) and if scrolls down it contrast. -
@thippu
i think you can use
https://qwt.sourceforge.io/class_qwt_magnifier.html -
@mrjj I mean selected curve y-axis scale should increase.