Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Set Interval in QML Charts
Qt 6.12 LTS is out! See what's new in the release blog

Set Interval in QML Charts

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 2 Posters 985 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.
  • D Offline
    D Offline
    dhu0504
    wrote on last edited by
    #1

    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
    0
    • D Offline
      D Offline
      dhu0504
      wrote on last edited by
      #2

      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
      0
      • D dhu0504

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

        Is we able to set like this.

        T Offline
        T Offline
        Tirupathi Korla
        wrote on last edited by Tirupathi Korla
        #3

        @dhu0504

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

        and assign axisX: xAxis in splineSeries

        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
        • Unsolved