Results 1 to 6 of 6

Thread: QChart + QDateTiemAxis, mapTo and mapFrom

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2015
    Posts
    42
    Thanks
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: QChart + QDateTiemAxis, mapTo and mapFrom

    Hey d_stranz,
    very glad to hearing from you. One of your replies brought me here.

    That is exactely my question. No, unfortunately it doesn't work like this. To me it seems that p=(1.51138e+12, 3) are the "inside-chart-coordinates". I can obtain them using mapFromScene(). I tried a little bit around and I approach the point doing tag->setPos(400, 300); Now: how to map from (1.51138e+12, 3) to (400, 300). I didn't find a way after all.

    The "why" is more than clear due to http://www.qtcentre.org/threads/6145...light=d_stranz

    cheers, Lars
    Last edited by mustermann.klaus@gmx.de; 23rd November 2017 at 10:38.

Similar Threads

  1. qchart hide legend for part of series
    By marrierius in forum Newbie
    Replies: 5
    Last Post: 9th September 2021, 14:11
  2. adding new QChart in a QChartView
    By zemlemer in forum Newbie
    Replies: 3
    Last Post: 7th September 2019, 16:02
  3. QChart Questions
    By rhb327 in forum Qt Programming
    Replies: 0
    Last Post: 17th May 2017, 11:04
  4. Dynamically updating QChart
    By nbkhwjm in forum Qt Programming
    Replies: 5
    Last Post: 15th February 2017, 17:06
  5. contextMenuEvent works partially in QChart
    By marrierius in forum Newbie
    Replies: 0
    Last Post: 16th December 2016, 18:48

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