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. "ValueAxis.tickInterval" is not available in QtCharts 2.3.
Forum Update on Monday, May 27th 2025

"ValueAxis.tickInterval" is not available in QtCharts 2.3.

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

    Hello,

    I'm porting a code made with Qt 5.15.2 to Qt 6.2.1. I'm facing an issue with the QValueAxis in QML :

     "ValueAxis.tickInterval" is not available in QtCharts 2.3. 
     "ValueAxis.tickType" is not available in QtCharts 2.3. 
    

    However, it is mentionned in the documentation that

    This property was introduced in QtCharts 2.3
    

    and it worked before (with 5.15.2).

    Does anyone has an idea ?

    Regards
    Stéphane

    1 Reply Last reply
    0
    • R Offline
      R Offline
      rich4653
      wrote on last edited by
      #2

      I was getting the same error and removing the version number from the import statement resolved it for me. That is import QtCharts rather than import QtCharts 2.3

      I don't understand why the error appeared in the first place or why this change fixed it... I find QT versioning very opaque/confusing and would be very interested if someone is able to explain what is going on here

      Also using Qt 6.2.1 (installed from Manjaro package manager)

      1 Reply Last reply
      1
      • S Offline
        S Offline
        steph27
        wrote on last edited by
        #3

        It works !

        Thanks
        (I don't understand it either...)

        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