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. QChart with more than 1 AreaSeries ?
QtWS25 Last Chance

QChart with more than 1 AreaSeries ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
qt6qchartqchartsareaserieschart
1 Posts 1 Posters 181 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.
  • L Offline
    L Offline
    Lila BRANDON
    wrote on 26 Apr 2024, 14:55 last edited by
    #1

    Hello there !
    I'm sorry to bother you with this problem that might be dumn but I can't seem to find a solution..

    I'm currently making an Application that uses QList of doubles to make charts and such.
    There is one chart that is supposed to have areas under each line looking like that :
    first.png

    However, I managed to make a chart with one AreaSeries, that made it look like this
    second.png

    But whenever and however I try to add a second AreaSeries, it makes the chart look like that :
    third.png

    I can't seem to find the issue, hopefully some of you knows how to help me..
    Here is my code :
    https://pastebin.com/CYkV9VH3

    PS : The second AreaSeries also works when it's alone (without the first one). The issue only happens when I make two or more AreaSeries on the chart.
    I'm using Qt 6.7 with C++

    Thanks in advance for your help !
    Have a nice day/night

    1 Reply Last reply
    0

    1/1

    26 Apr 2024, 14:55

    • Login

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