Results 1 to 2 of 2

Thread: axis question

  1. #1

    Default axis question

    Pretty much every method regarding the axis requires you to pass axisId as a parameter, but I cannot figure out where this is set. Is there a value that is pre-defined for the x and y axis? is this something i have to set? i'm kind of confused on this one.

  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: axis question

    From qwt_plot.h:

    Qt Code:
    1. class QWT_EXPORT QwtPlot: public QFrame, public QwtPlotDict
    2. {
    3. friend class QwtPlotCanvas;
    4.  
    5. Q_OBJECT
    6. Q_PROPERTY( QString propertiesDocument
    7. READ grabProperties WRITE applyProperties )
    8.  
    9. public:
    10. //! Axis index
    11. enum Axis
    12. {
    13. yLeft,
    14. yRight,
    15. xBottom,
    16. xTop,
    17.  
    18. axisCnt
    19. };
    To copy to clipboard, switch view to plain text mode 
    Last edited by jacek; 24th November 2008 at 02:48. Reason: changed [qtclass] to [code]

Similar Threads

  1. Virtual axis ?
    By viridis in forum Qwt
    Replies: 2
    Last Post: 1st July 2008, 15:28
  2. Relocating axis labels
    By malcom2073 in forum Qwt
    Replies: 0
    Last Post: 9th May 2008, 13:01
  3. Access to QSqlTableModel::isDirty Question.
    By patrik08 in forum Qt Programming
    Replies: 3
    Last Post: 12th April 2007, 17:49
  4. QThread exit()/quit() question
    By TheKedge in forum Qt Programming
    Replies: 1
    Last Post: 28th August 2006, 14:38

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.