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. Need advice about building blocks for graph plot

Need advice about building blocks for graph plot

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 342 Views 1 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.
  • V Offline
    V Offline
    VitaliyBortsov
    wrote on last edited by VitaliyBortsov
    #1

    Hello.
    Here are samples of our graphs created in our custom GUI library.
    Sample_Pinsp.png

    Sample_Pinsp2.png
    What building blocks of Qt should I use to the same functionality?

    Notes:

    1. graph may be filled with a color; it is defined at startup
    2. there may be the envelope for the graph using three different colors; data source will instruct the graph to change a color of graph
    3. there may be serifs on graph; data source will instruct the graph to draw a serif

    How is it possible to combine Qt things (Qt Charts: QLineSeries, QScatterSeries or others) to create such graphs? Is it possible by Qt QML + Qt Quick? Is it possible to use OpenGL hardware acceleration?

    Regards, Vitaliy

    Pl45m4P 1 Reply Last reply
    0
    • V VitaliyBortsov

      Hello.
      Here are samples of our graphs created in our custom GUI library.
      Sample_Pinsp.png

      Sample_Pinsp2.png
      What building blocks of Qt should I use to the same functionality?

      Notes:

      1. graph may be filled with a color; it is defined at startup
      2. there may be the envelope for the graph using three different colors; data source will instruct the graph to change a color of graph
      3. there may be serifs on graph; data source will instruct the graph to draw a serif

      How is it possible to combine Qt things (Qt Charts: QLineSeries, QScatterSeries or others) to create such graphs? Is it possible by Qt QML + Qt Quick? Is it possible to use OpenGL hardware acceleration?

      Regards, Vitaliy

      Pl45m4P Offline
      Pl45m4P Offline
      Pl45m4
      wrote on last edited by Pl45m4
      #2

      @VitaliyBortsov said in Need advice about building blocks for graph plot:

      How is it possible to combine Qt things (Qt Charts: QLineSeries, QScatterSeries or others) to create such graphs?

      You could create a custom LineSeries (by subclassing), but I dont know how it affects the OpenGL compatibility.
      (The example page below says: Note: The OpenGL acceleration is only supported for QLineSeries and QScatterSeries.)
      So I guess you have to subclass at least one of them to keep OpenGL support (Don't know how a subclass of their base class QAbstractSeries + OpenGL would behave)

      @VitaliyBortsov said in Need advice about building blocks for graph plot:

      Is it possible to use OpenGL hardware acceleration?

      Yes. Here's an example https://doc.qt.io/qt-5/qtcharts-openglseries-example.html.

      You might want to have a look at Qwt and QCustomPlot as well.


      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      V 1 Reply Last reply
      1
      • Pl45m4P Pl45m4

        @VitaliyBortsov said in Need advice about building blocks for graph plot:

        How is it possible to combine Qt things (Qt Charts: QLineSeries, QScatterSeries or others) to create such graphs?

        You could create a custom LineSeries (by subclassing), but I dont know how it affects the OpenGL compatibility.
        (The example page below says: Note: The OpenGL acceleration is only supported for QLineSeries and QScatterSeries.)
        So I guess you have to subclass at least one of them to keep OpenGL support (Don't know how a subclass of their base class QAbstractSeries + OpenGL would behave)

        @VitaliyBortsov said in Need advice about building blocks for graph plot:

        Is it possible to use OpenGL hardware acceleration?

        Yes. Here's an example https://doc.qt.io/qt-5/qtcharts-openglseries-example.html.

        You might want to have a look at Qwt and QCustomPlot as well.

        V Offline
        V Offline
        VitaliyBortsov
        wrote on last edited by
        #3

        @Pl45m4 Thank you

        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