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. QtChart: Single Axis-X with multiple Axis-Y
Forum Updated to NodeBB v4.3 + New Features

QtChart: Single Axis-X with multiple Axis-Y

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 2 Posters 284 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.
  • T Offline
    T Offline
    Toan Vo Khanh Nguyen
    wrote on last edited by
    #1

    Hello All,
    I'm new to Qt,

    I'm planning to create a ChartView with single axis X and multiple separate axis-Y stacked like below:
    229b6ac0-c3d8-42a1-8d57-b159d4ec1e29-image.png

    Could someone share me how to do it or some keywords that I can research? and is it possible?
    (Currently I'm using ChartView QML+PySide6, but seems it is only able to show the 3 axises Y above in parallel |||___., not able to stack)

    Thank you so much!

    1 Reply Last reply
    0
    • B Offline
      B Offline
      Bob64
      wrote on last edited by
      #2

      I suspect the way to do this is to have three separate ChartViews and to align them as you require. You will probably need to play around with the margins. You can turn off the title on all but the bottom view by means of the titleVisible property of the axis.

      T 1 Reply Last reply
      0
      • B Bob64

        I suspect the way to do this is to have three separate ChartViews and to align them as you require. You will probably need to play around with the margins. You can turn off the title on all but the bottom view by means of the titleVisible property of the axis.

        T Offline
        T Offline
        Toan Vo Khanh Nguyen
        wrote on last edited by
        #3

        @Bob64 Thanks for your hint!
        I'm trying this way...

        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