Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. LineSeries in ChartView only visible on my machine with OpenGL enabled
Forum Updated to NodeBB v4.3 + New Features

LineSeries in ChartView only visible on my machine with OpenGL enabled

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
6 Posts 2 Posters 676 Views 2 Watching
  • 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.
  • S Offline
    S Offline
    shortnr
    wrote on last edited by
    #1

    Software Config: PySide6 6.7.2, Python 3.9.1 (it's a WinPython distribution)
    IDE: VS Code and Eclipse with PyDev

    Hi,

    I'm developing an application that contains some graphs using QtCharts. When I run the application on my machine, everything is fine. When my coworkers run the application, they cannot see the LineSeries in the ChartView. The series is there, because I can print it's count and I'm getting the right number.

    All of our graphics drivers are up to date and we should be running all the same versions of things, with the exception that I was initially developing in Qt Creator/Design Studio, but I've uninstalled those in favor of VS Code.

    Does anything happen during the installation of Qt Creator that would alter my setup so that I can see the LineSeries, even after I've uninstalled it?

    OpenGL is pretty much required in our case, as we have a decently large number of data points that need to be graphed, and the chart is pretty laggy without it.

    Any help is appreciated!

    Best,

    Nick

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by SGaist
      #2

      Hi and welcome to devnet,

      Do you have the same graphic stack on both machines ?

      On a related note, you might want to check the upcoming QtGraph Qt Graphs module which should be better optimized for your use case.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      S 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        Do you have the same graphic stack on both machines ?

        On a related note, you might want to check the upcoming QtGraph Qt Graphs module which should be better optimized for your use case.

        S Offline
        S Offline
        shortnr
        wrote on last edited by
        #3

        @SGaist

        Thanks for the welcome :)

        By graphics stack, do you mean hardware? We both have RTX A4000 GPUs. The rest of our system hardware should also be the same.

        How do I reference the upcoming QtGraph module in my project? Is there a pre-release candidate that is available?

        Thanks!

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Yes that was what I was asking for. Did you check that you are running the same version of the drivers ? (Just in case there's was an update one of you may have missed since the last time you checked)

          Sorry, I made a typo, it's Qt Graphs. The module is currently in technical preview but it seems importable with PySide6.

          from PySide6 import QtGraphs

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          S 1 Reply Last reply
          0
          • SGaistS SGaist

            Yes that was what I was asking for. Did you check that you are running the same version of the drivers ? (Just in case there's was an update one of you may have missed since the last time you checked)

            Sorry, I made a typo, it's Qt Graphs. The module is currently in technical preview but it seems importable with PySide6.

            from PySide6 import QtGraphs

            S Offline
            S Offline
            shortnr
            wrote on last edited by shortnr
            #5

            @SGaist I assume it's the same version, since we're both up to date in Nvidia's GeForce Experience app.

            I'll look into QtGraphs :) How similar to QtCharts is it? I'm guessing it's not a drop in replacement.

            Another question (or concern) I'd have about QtGraphs is: does it support zooming/panning? QtCharts has member functions for zooming and scrolling, but I don't see any in the documentation for QtGraphs.

            I also don't see how to add series programmatically (like the createSeries method in QtCharts' ChartView component).

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              IIRC, the app version and driver version might not be linked.

              As for Qt Graph, AFAIK, the goal is for it to replace Qt Charts in an improved way but I haven't had the occasion to use it yet so I am sorry I can't be of more use on that front.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              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