Results 1 to 3 of 3

Thread: Multi-Axis Graphing Widget

  1. #1
    Join Date
    May 2008
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Multi-Axis Graphing Widget

    Hello, I am looking for a library to allow me to graph using multiple Y axis, similar to http://www.tecplot.com/Portals/0/ima...multi_axis.gif

    Qwt is not an option, as obviously they don't support it, and the user patch to add this feature is not planned on being integrated into the library itself any time soon. Does anyone know of any library that allows this? I wrote my own, but I don't like how it looks so I'd really like to find one that is already completed

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Multi-Axis Graphing Widget

    Why couldn't you use a QwtPlot within a horizontal layout, and add your extra y-axes (using QwtScaleWidget) in additional vertical panes of the layout? Obviously, you would need to add some external synchronization for zooming, etc., and you would have to map the y-scaling of data corresponding to the additional axes to that of the primary y-axis, but that would not be so hard.

    I do not know of any other library that is as comprehensive as Qwt, unless you go into Python and use Matplotlib embedded in a Qt widget. I think it would be easier to hack something up as described above.

  3. #3
    Join Date
    Sep 2011
    Location
    Manchester
    Posts
    538
    Thanks
    3
    Thanked 106 Times in 103 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Multi-Axis Graphing Widget

    What's wrong with using not official patch?

Similar Threads

  1. Multi Widget focus problem with QListView in s60
    By ericleopard in forum Qt Programming
    Replies: 0
    Last Post: 11th July 2011, 04:29
  2. Replies: 5
    Last Post: 26th June 2011, 11:43
  3. Graphing in Qt
    By Splatify in forum Newbie
    Replies: 3
    Last Post: 21st February 2011, 19:13
  4. Qt and Graphing tools
    By deepakn in forum General Programming
    Replies: 2
    Last Post: 11th August 2009, 17:41
  5. QT Graphing Toolkits
    By dlautz in forum Qt Programming
    Replies: 3
    Last Post: 27th April 2006, 19:51

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.