Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. I used Q3dSurface... I wonder that
Qt 6.11 is out! See what's new in the release blog

I used Q3dSurface... I wonder that

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 125 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.
  • N Offline
    N Offline
    nyamnyam
    wrote on last edited by
    #1

    The value of the y-axis set from 0 to 255, but the value shown wants to be seen as a value of 0 to 360.

    I think the following code would do, but the value shown is marked "255 * 1.40625".

    Q3DSurface *graph = new Q3DSurface();
    graph ->axisY()->setLabelFormat ("%d * 1.40625")

    My wanted result is not 0, 256 But 0, 360 for Shown Y axis value.

    I would appreciate it if you could tell me which function to use to shown on the Y axis.
    Thx.

    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