+ Reply to Thread
Results 1 to 4 of 4

Thread: A qcustomplot question

  1. #1
    Join Date
    Apr 2017
    Posts
    16
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default A qcustomplot question

    I have an app containing several qcustomplot widgets. They had to be sized down but it doesn't look like the font size for the x and y axis sized down with it. How do I change the font size for the x and y axis?

    Thanks

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    3,117
    Thanks
    194
    Thanked 491 Times in 481 Posts
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows Android

    Default Re: A qcustomplot question

    Why don't you read the QCustomPlot documentation? It's comprehensive and online.
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

  3. #3
    Join Date
    Apr 2017
    Posts
    16
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: A qcustomplot question

    There is no example showing implementation of the overloaded QCPRange::QCPRange ( double lower, double upper )

  4. #4
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    3,117
    Thanks
    194
    Thanked 491 Times in 481 Posts
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows Android

    Default Re: A qcustomplot question

    How do I change the font size for the x and y axis?
    You didn't ask about QCPRange. You asked about font size for the axis, and I took the trouble to look it up for you.
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

+ Reply to Thread

Similar Threads

  1. use a QWT layout with QCustomPlot
    By bandito in forum Qt Programming
    Replies: 1
    Last Post: 11th June 2016, 18:50
  2. Unable to setup Qcustomplot
    By HarshaSri in forum Newbie
    Replies: 1
    Last Post: 27th December 2015, 22:29
  3. QCustomplot
    By Harshavardhan in forum Newbie
    Replies: 1
    Last Post: 10th March 2014, 20:13
  4. Help with QCustomPlot
    By aashok91 in forum Qt Programming
    Replies: 0
    Last Post: 9th January 2013, 00:56
  5. QRubberband and QcustomPlot
    By OzQTNoob in forum Newbie
    Replies: 1
    Last Post: 16th October 2012, 03:19

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