Results 1 to 13 of 13

Thread: Time/Date Axis

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2008
    Posts
    4
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Time/Date Axis

    I've seen some old references to interest in a Time/Date axis. Has anyone done this yet, even in an alpha or beta stage? If not, we're interested in implementing this.

    Specifically, we're looking to be able to specify the format of the numbers on the major tick of the axis. I believe that is (part of) the purpose of the QwtScaleEngine; please correct me if I am wrong.

    I would like to tell the scale engine what format the major tick should appear in. For example, either "hh:mm:ss" or "hh:mm" or "mm/dd".

    Being new to Qwt, I would love some guidance on what I need to subclass (if not just QwtScaleEngine) or otherwise do to implement this.

    By the way, this being done in conjunction with an effort to implement a stock or securities charting QwtPlotItem to show OHLC bars (Open, High, Low, Close).

    Many thanks.

    - sigger

  2. The following user says thank you to sigger for this useful post:

    DadaLee (31st July 2008)

Similar Threads

  1. Relocating axis labels
    By malcom2073 in forum Qwt
    Replies: 0
    Last Post: 9th May 2008, 13:01
  2. Set axis title on the right side
    By pospiech in forum Qwt
    Replies: 1
    Last Post: 14th March 2008, 07:26
  3. Qwt and custom axis
    By jiveaxe in forum Qwt
    Replies: 3
    Last Post: 14th November 2007, 15:50
  4. Qwt - extra axis
    By steg90 in forum Qwt
    Replies: 2
    Last Post: 10th July 2007, 14:41

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.