fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    Draw Shape on condition

    Questions & Answers
    2
    2
    1476
    Loading More Posts
    • 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.
    • E
      eks last edited by eks

      If the condition is true draw a Green rectangle, if it is not true, draw a red rectangle on the graph. This condition can vary several times during the same bar, but this does not happen in the graph (only repainted once), even changing the Repaint parameters in the draw shape block.

      It seemed simple, I tried several possibilities but none repainted several times in the same bar.

      Could you please help me?

      0_1551651977294_463c7f66-3059-464a-8ac2-2569074081b6-image.png link text

      1 Reply Last reply Reply Quote 0
      • fxDreema
        fxDreema last edited by

        I feel that you want to control the same object, to change its color multiple times. Try this:https://fxdreema.com/shared/CGpYT0LSb
        What I changed here is that I use name for the object. Without this, each block creates and controls its own object.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        Online Users

        M
        2
        M
        M
        N
        B
        A
        B
        S
        E
        W
        M

        31
        Online

        146.6k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors