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. How to draw this type of chart, using QtCharts

How to draw this type of chart, using QtCharts

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 367 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.
  • cpperC Offline
    cpperC Offline
    cpper
    wrote on last edited by
    #1

    Hi again,
    I want to display a chart like the one below using QtCharts, adding lines/points at specific xy coordinates.
    0_1554109568209_charto.png
    In this video, you can see to the right of the speed widget, a similar "chart".

    Firstly, I thought QPolarChart might come in handy, but it looks like it's of no help, since I would need two(horizontal and vertical) PolarOrientationRadial axes.
    Is this maybe doable using QScatterSeries or QLineSeries , centering the axes in the middle of the chart, and somehow making the chart round ? Or should I better just draw using QPainter ?
    Thanks a lot :)

    1 Reply Last reply
    0
    • M Offline
      M Offline
      MrShawn
      wrote on last edited by
      #2

      I am not sure QtCharts is your best option... I would think about QML and maybe customizing a slider instead. Some google searches reveal how to do a curved slider.

      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