Reference 〉Function

Charts.scrub( int t )

Updates the visualizer with the values from model time t. This function is called when the time slider is modified and should not be called from user code.

WARNING: This is an internal function. Its use in user code is not recommended or supported, and its signature can change in future updates without warning. Use one of the suggested functions above instead, if applicable.

Parameters

  • t int, required

    The model time whose data to display. Must be a multiple of the 'refresh' parameter, which cannot be changed during a model run.

Notes and Examples

  1. Contribute a Note

    Your email address will not be published. Required fields are marked *

    You may use limited HTML for formatting. Please embed blocks of code in <pre><code> </code></pre> tags.