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. Can't find desired functionality in QChart
Qt 6.11 is out! See what's new in the release blog

Can't find desired functionality in QChart

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 1.0k 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.
  • D Offline
    D Offline
    drmhkelley
    wrote on last edited by
    #1

    Relatively experience Qt user exploring QCharts for the first time. I'm looking for two plotting functionalities but can't find anything comparable in either documentation or examples - but suspect someone has already figured these out.

    1. When plotting a series of x,y data, I want to choose at plot time whether to display the data with individual point markers, with lines connecting the points, or both. I found QScatterSeries and QLineSeries, each of which is appropriate for one or the other, but I'd rather not need to have two series just to enable the desired functionality.

    2. All of my target applications are for displaying scientific data, for which "error bars" or "uncertainty intervals" are always essential. How would I add "error bars" to data points/lines in QCharts?

    Any pointers to prior efforts to address these will be most appreciated.

    1 Reply Last reply
    0
    • 9 Offline
      9 Offline
      990414020
      wrote on last edited by
      #2

      Same problems confused me. Have you got any solution?

      1 Reply Last reply
      0
      • J.HilkJ Offline
        J.HilkJ Offline
        J.Hilk
        Moderators
        wrote on last edited by J.Hilk
        #3

        hi,
        I don't think its possible to change between QAbstractSeries derived classe on the fly. You would have to add 2 series to the Qchart and make them visible/invisible on demand.

        For the "error bar" I would take a look at the QBoxPlotSeries Class


        Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


        Q: What's that?
        A: It's blue light.
        Q: What does it do?
        A: It turns blue.

        1 Reply Last reply
        3

        • Login

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