Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved Set Interval in QML Charts

    QML and Qt Quick
    2
    3
    459
    Loading More Posts
    • 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.
    • D
      dhu0504 last edited by

      I am used QML spline series. I set X axis min as 0 and max as 24.
      I need to set interval as 1.
      Is it possible to set the interval in X axis.

      Thanks In advance

      1 Reply Last reply Reply Quote 0
      • D
        dhu0504 last edited by

        I need display XAxis value as 0,1,2,3,4,5,6 .... 24

        Is we able to set like this.

        T 1 Reply Last reply Reply Quote 0
        • T
          Tirupathi Korla @dhu0504 last edited by Tirupathi Korla

          @dhu0504

              ValueAxis {
                      id: xAxis
                      min: 0
                      max: 24
                      tickCount: 25
                  }
          

          and assign axisX: xAxis in splineSeries

          1 Reply Last reply Reply Quote 0
          • First post
            Last post