Results 1 to 3 of 3

Thread: how rotate axis title

  1. #1
    Join Date
    Sep 2012
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default how rotate axis title

    Hi, Im trying to rotate yLeft axis title (ans yLeft axis scale mus be disabled). Do you have any idea, how can I do that?

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,326
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows
    Thanked 880 Times in 828 Posts

    Default Re: how rotate axis title

    Rotating or disabling - when rotating, all you can do is to rotate by 180°.
    But you could assign an empty title and put your own widget with a rotated text aligned to the plot.

    Uwe

  3. #3
    Join Date
    Sep 2012
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: how rotate axis title

    But how can i ad my widget to the plot? Becouse the plot is in a frame and adding widget next to the plot doesn't look like part of it (to understand, I have 3 plots, but in the third one a need special label with names instead of numbers)


    Added after 10 minutes:


    I solved it The trick was in QGroupBox, I just added the plot without frame and the text label. Anyway, thanks for the idea !
    Last edited by Andell; 1st October 2012 at 01:11.

Similar Threads

  1. QTransform rotate on X axis using QSlider
    By mvbhavsar in forum Newbie
    Replies: 7
    Last Post: 27th July 2012, 08:40
  2. Twisted Letters in Vertical Axis Title
    By DrunkenUFOPilot in forum Qwt
    Replies: 6
    Last Post: 25th January 2012, 00:56
  3. Replies: 5
    Last Post: 26th June 2011, 12:43
  4. QGraphicsView + rotate around axis ?
    By medved6 in forum Qt Programming
    Replies: 4
    Last Post: 25th May 2010, 04:30
  5. Set axis title on the right side
    By pospiech in forum Qwt
    Replies: 1
    Last Post: 14th March 2008, 08:26

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
  •  
Qt is a trademark of The Qt Company.