Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Draw on a QChart

Draw on a QChart

Scheduled Pinned Locked Moved Unsolved General and Desktop
chartsgraphics viewdraw
1 Posts 1 Posters 1.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Totoro
    wrote on 19 Jul 2017, 14:16 last edited by
    #1

    Hi.

    I built a simple candlestick graph with Qt Chart (in Python, but it's ok to have answers in C++ or in other languages), and it works well. I used a QChartView to show the content I drew on the QChart.
    I zoom and pan the graph with the zoomIn(QRect) and scroll functions of the QChart.

    Now, I'd like to draw some indicators (like arrows or other simple drawings) on or near specific candlesticks, but I really doesn't know very well the graphics view framework and Qt Chart, and I was not able to understand if there is a simple way to do that, or even a way that does not make me crazy.
    I'd like to have graphics that moves with my candlestick, and preferably I'd like to choose if they will resize together with zoom or they will have the same screen size at each zoom level.

    Thanks in advance!

    1 Reply Last reply
    0

    1/1

    19 Jul 2017, 14:16

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved