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
Forum Updated to NodeBB v4.3 + New Features

Draw on a QChart

Scheduled Pinned Locked Moved Unsolved General and Desktop
chartsgraphics viewdraw
1 Posts 1 Posters 1.3k 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 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

    • Login

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