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 help[urgent]
Qt 6.11 is out! See what's new in the release blog

QCustomPlot help[urgent]

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 1.1k Views 1 Watching
  • 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.
  • HashDragonH Offline
    HashDragonH Offline
    HashDragon
    wrote on last edited by HashDragon
    #1

    Hello everyone, I am using QCustomPlot library in my project and I have a weird requirement.
    I want my graph to have my own colours(not pen color, the fill/brush and they form a gradient) from a particular offset range.
    Like 400-450 for violet, etc. (These are values on x axes of course). I looked up QLinearGradient but it is not working for me, as the gradient is relative to the screen and not "Fixed". If I zoom in or pan then the gradient also moves and its not perfect either. I don't think I need a colormap because colors have no relation with my y values. Any help would be appreciated :)
    Thanks

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      QCustomPlot is not an official Qt module, you should try to contact its author as he might be more knowledgeable about the goal you are trying to reach.

      On a side note, stating that your problem is urgent while requesting free help on a community forum is not a good idea. While I can understand that it's urgent for you, if you are in such a hurry then you should consider hiring someone to help you rather than trying to rush people into helping when they do it on their own time.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • HashDragonH Offline
        HashDragonH Offline
        HashDragon
        wrote on last edited by
        #3

        I have posted the same thread on their site too but no response as of 1 week. I am still hoping for someone familiar with QCP to help me.

        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