In the output section of my GAMA experiment, I have the following code for a pie chart:
The graph updates correctly (looping between zones), but it doesn't write anything to stdout. I want to add logical code (an if statement) to prevent the chart from being drawn during the first iteration when the data isn't available yet. I've tried using experiment conditions with a refresh, but a flag variable is ignored. I can't think of another way to achieve this. How can I prevent the chart from being drawn on the first iteration or simple add logic that can be executed?
The main problem is that I want to create a specific environment (which derives from another generic environment) within the experimental section (in its init), but I find that the output section is executed ¡before! the init of experiment, which forces me to declare it globally (and I don't think this is appropriate).
Thanks!!