Results 1 to 2 of 2

Thread: How to interaction on Charts in QML?

  1. #1
    Join Date
    Oct 2013
    Location
    VietNam
    Posts
    41
    Thanks
    3
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Windows Android

    Question How to interaction on Charts in QML?

    Hi!
    I using Qt 5.4.1 Enterprise and used Qt Charts 2.0 module
    I create Line Chart Example and build it to android device
    Qt Code:
    1. ChartView {
    2. title: "Line"
    3. anchors.fill: parent
    4. antialiasing: true
    5.  
    6. LineSeries {
    7. name: "LineSeries"
    8. XYPoint { x: 0; y: 0 }
    9. XYPoint { x: 1.1; y: 2.1 }
    10. XYPoint { x: 1.9; y: 3.3 }
    11. XYPoint { x: 2.1; y: 2.1 }
    12. XYPoint { x: 2.9; y: 4.9 }
    13. XYPoint { x: 3.4; y: 3.0 }
    14. XYPoint { x: 4.1; y: 3.3 }
    15. }
    16. }
    To copy to clipboard, switch view to plain text mode 
    result is this image (sorry, I can't insert image)
    https://www.dropbox.com/s/5eu9nmk1k5...chart.jpg?dl=0

    How to show axisX and axisY value when I touch or click on Charts?

  2. #2
    Join Date
    Jul 2013
    Posts
    33
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Re: How to interaction on Charts in QML?

    Any answers for this thread as i needed same functionalty

Similar Threads

  1. Replies: 21
    Last Post: 8th December 2011, 03:18
  2. Charts in Qt!!
    By rachana in forum Qt Programming
    Replies: 3
    Last Post: 6th May 2011, 07:10
  3. Gantt charts with QWT ?
    By thejester in forum Qwt
    Replies: 19
    Last Post: 5th May 2011, 08:52
  4. Help with Bar charts
    By romeo in forum Qwt
    Replies: 0
    Last Post: 30th June 2010, 17:58
  5. MVC charts for Qt4
    By wysota in forum Qt-based Software
    Replies: 8
    Last Post: 28th September 2006, 17:06

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.