Results 1 to 3 of 3

Thread: How to replace number scale with text scale in qwtplot?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2015
    Posts
    109
    Thanks
    20
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default How to replace number scale with text scale in qwtplot?

    Hello,

    I have draw simple graph using QwtPlot() and QwtPlotGrid().

    Now I want to replace numbers on Y-axis with some text.

    Please check the below attachment shows, I have achived right side of graph now I want graph looks like left side.
    graph.jpg

    Thanking in advanced!

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

    Default Re: How to replace number scale with text scale in qwtplot?

    Overload QwtScaleDraw::label.

    Uwe

Similar Threads

  1. change 'scale map' of QwtPolarGrid number!
    By sampad1370 in forum Qwt
    Replies: 2
    Last Post: 5th April 2016, 14:38
  2. scale in QwtSlider and QwtPlot
    By mastupristi in forum Qwt
    Replies: 3
    Last Post: 20th October 2014, 08:37
  3. How to hide part of a QwtPlot scale?
    By Momergil in forum Qwt
    Replies: 2
    Last Post: 6th February 2013, 20:41
  4. QwtPlot offset between Canvas and Scale
    By revellix in forum Qt Programming
    Replies: 2
    Last Post: 31st July 2011, 14:31
  5. QwtPlotItem inverting qwtPlot scale
    By jmsbc in forum Qwt
    Replies: 1
    Last Post: 25th August 2009, 15:09

Tags for this Thread

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.