Results 1 to 2 of 2

Thread: Align vertically QwtPlot

  1. #1
    Join Date
    Jul 2012
    Location
    Paris, France
    Posts
    8
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default Align vertically QwtPlot

    Hi everyone,

    I am currently developping an application which uses QwtPlot to draw curves. When I add a curve to a plot, I also add a title in the left axis, so when there are several curves in a plot, the title of the left axis is the superposition of all the titles of the curves in the plot (I use RichText to do this). The point is that I have several plots in a vertical layout, and I'd like all these plot canvas to be vertically aligned. I know it's a recurrent problem, I tried what Uwe described in it :
    http://permalink.gmane.org/gmane.com...wt.general/455

    It works well when there is only one curve in each plot, but as soon as there are more than one curve, it doesn't work anymore.

    You can have an illustration of my problem here :
    http://www.hostingpics.net/viewer.ph...blemLayout.png

    I spent hours trying to solve it, anything worked

    If anyone have a way to fix it ..

    Thanks.

  2. #2
    Join Date
    Jul 2012
    Location
    Paris, France
    Posts
    8
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Align vertically QwtPlot

    I found the solution in adding '<br>' in the axis title of the plot that have less curves than the max number of curves in all the plots.

    Sorry for the disturbance.

Similar Threads

  1. Align QwtSlider and QwtPlot
    By justoit in forum Qwt
    Replies: 4
    Last Post: 4th May 2011, 12:41
  2. Replies: 2
    Last Post: 6th September 2010, 00:24
  3. how to add QAction vertically and horizontally in QToolBar
    By sanjayshelke in forum Qt Programming
    Replies: 0
    Last Post: 10th November 2008, 10:56
  4. Rezizing the Qlabels vertically
    By anju123 in forum Qt Programming
    Replies: 3
    Last Post: 3rd January 2008, 16:35
  5. How can I write vertically in a QPushbutton ?
    By castorvert in forum Qt Programming
    Replies: 1
    Last Post: 2nd April 2006, 22:27

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.