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. How to remove spacings? QML ChartView.

How to remove spacings? QML ChartView.

Scheduled Pinned Locked Moved Solved QML and Qt Quick
3 Posts 2 Posters 1.1k 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.
  • MikhailGM Offline
    MikhailGM Offline
    MikhailG
    wrote on last edited by MikhailG
    #1

    Hi! Does anyone know how to remove this spacings?
    alt text

        margins.top: 0
        margins.bottom: 0
        margins.left: 0
        margins.right: 0
    

    Reduce them but not completely removes.

    1 Reply Last reply
    0
    • V Offline
      V Offline
      vladstelmahovsky
      wrote on last edited by
      #2

      try: legend.visible: false

      1 Reply Last reply
      0
      • MikhailGM Offline
        MikhailGM Offline
        MikhailG
        wrote on last edited by
        #3

        Already, it reduces but not completely removes the spacings. Solution was qoute from stackoverflow
        QMargins property designates the minimum area around the plotting area. Try filling this remaining padding by adjusting the child (plot) itself.

        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