Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Help With These QLineseries ?
Forum Updated to NodeBB v4.3 + New Features

Help With These QLineseries ?

Scheduled Pinned Locked Moved Unsolved Qt for Python
1 Posts 1 Posters 209 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.
  • J Offline
    J Offline
    JPSouza
    wrote on last edited by
    #1

    I have a method that generates a Qchart based on the values ​​of three vectors (which change at different times in the application). This Qchart is then filled with 3 Qlineseries that contain the information from these vectors. When I use the createDefaultAxes() method I get the chart below which is correct:
    Captura de tela de 2022-05-16 13-41-06.png

    But I need to improve the visualization of this data. So I want to increase the Y axis range to (24.0, 39.0) with 1 in 1 intervals, add legends and leave the X axis with ticks in whole numbers. for this, I used the following methods indicated by that person.(In the link there is also the code used).

    However, when using the suggested methods (setTickType, setTickInterval...) with the same data as the previous chart, the axes are exactly the way I need them, but the linesseries are completely messed up (see that the matches are completely different, even the tuples used in the two charts are the same). The values ​​I'm using are exactly the same. What's happening? Can anyone help me find a way to solve this?
    Captura de tela de 2022-05-16 16-33-26.png

    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