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. Is there any way to save chart values?

Is there any way to save chart values?

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

    Hi everyone. I have a real time chart application.
    I want to save chart values as a binary file, after that i want to upload it in a graph and see the result.
    My mind is so confused. There are at least 20 different datas.
    If i save them in a binary format with QDataStream, how do i know which data is which when restoring?
    Im open to any idea for it, thanks for your help.

    jsulmJ 1 Reply Last reply
    0
    • F firsnur96

      Hi everyone. I have a real time chart application.
      I want to save chart values as a binary file, after that i want to upload it in a graph and see the result.
      My mind is so confused. There are at least 20 different datas.
      If i save them in a binary format with QDataStream, how do i know which data is which when restoring?
      Im open to any idea for it, thanks for your help.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @firsnur96 said in Is there any way to save chart values?:

      how do i know which data is which when restoring?

      Well, the documentation already shows how https://doc.qt.io/qt-5/qdatastream.html
      So, what is the exact problem/question?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      F 1 Reply Last reply
      1
      • jsulmJ jsulm

        @firsnur96 said in Is there any way to save chart values?:

        how do i know which data is which when restoring?

        Well, the documentation already shows how https://doc.qt.io/qt-5/qdatastream.html
        So, what is the exact problem/question?

        F Offline
        F Offline
        firsnur96
        wrote on last edited by
        #3

        @jsulm said in Is there any way to save chart values?:

        Well, the documentation already shows how https://doc.qt.io/qt-5/qdatastream.html
        So, what is the exact problem/question?

        I read the documentation but i didnt understand how should i separate different values.
        For example i have x y t z, and they have values from 1 to 4
        How datastream store my values, in an order?

        jsulmJ 1 Reply Last reply
        0
        • F firsnur96

          @jsulm said in Is there any way to save chart values?:

          Well, the documentation already shows how https://doc.qt.io/qt-5/qdatastream.html
          So, what is the exact problem/question?

          I read the documentation but i didnt understand how should i separate different values.
          For example i have x y t z, and they have values from 1 to 4
          How datastream store my values, in an order?

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @firsnur96 said in Is there any way to save chart values?:

          How datastream store my values, in an order?

          The order is specified by your data types and in which order you write them into the stream...

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          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