Skip to main content
Solved

Is it possible to use if/then statements without prototyping?


Milliorn_Keleigh

I have a couple of static charts that I’d like to use if/then statements.

Basically I’ve assigned a mode to a layer and currently prototyping requires an action to change the assignment.

For simple illustration:

  • I have a mode called “dollars” with variables that assign the color of the text and turns on a dollar sign.
  • I also have a mode called “percentage” with variables that assign a different color to the text and turns on a percentage sign.
  • I’d like to be able to control the modes at a higher level so the numbers remain the same. I’m creating charts that assign width/height according to the number of bars in the chart. I’d like for that chart mode to control if it shows “percentage” or “dollars.”

Is there anything like an “on page load” action to trigger an action?

Best answer by Matheus_Souza

Hello.

What I do in those cases is to set an “After delay” with 1ms and it kinda works like a page load.

Hope it helps.

View original
This topic has been closed for comments

3 replies

Matheus_Souza

Hello.

What I do in those cases is to set an “After delay” with 1ms and it kinda works like a page load.

Hope it helps.


Milliorn_Keleigh

Oh, that’s a GREAT idea for a workaround! Thank you!


  • 0 replies
  • August 12, 2023

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings