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. QCustomPlot set fixed yaxis range
Forum Updated to NodeBB v4.3 + New Features

QCustomPlot set fixed yaxis range

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

    I'm new in qt and c++. I made a graph with qcustomplot but I need fixed yaxis. It must be stay with 2 range. no need rescale.

    ui -> widgetChart -> yAxis -> setRange(-40, 80);
      ui -> widgetChart -> yAxis2 -> setRange(0, 100);
    

    I tried this but when plot starting axis ranges changing again.
    How can I do this fixed range?

    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