Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add optional redraw parameter to extendTraces/prependTraces #6682

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Commits on Jul 24, 2023

  1. Add optional redraw parameter to extendTraces/prependTraces

    An optional parameter has been added to extendTraces and prependTraces that specifies whether the graph should be redrawn after a new group of traces has been appended or prepended, as the case may be.  This can be useful when the time to redraw cannot keep up with the frequency in which new data arrives, or when data arrives so fast that updating the graph with each trace addition is distracting.  Importantly, this change is backward compatible with any prior version, as the optional redraw parameter defaults to true, thus, unless explicitly set to false, graphs will continue to be redrawn after each trace addition.
    drderiv committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    9094f2a View commit details
    Browse the repository at this point in the history
  2. Create 6682_add.md

    drderiv committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    674ffbd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8786347 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ca3a511 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2023

  1. Configuration menu
    Copy the full SHA
    00bc920 View commit details
    Browse the repository at this point in the history
  2. Update plot_config.js

    Add redrawMinimumInterval parameter to config for use with extendTraces/prependTraces.  Fully backwards compatible as default is zero.
    drderiv committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    ac2cf82 View commit details
    Browse the repository at this point in the history
  3. Update plot_api.js

    Revert previous changes and attempt to implement suggestion of @alexcjohnson to use throttle functionality for extendTraces/prependTraces minimum redraw interval.
    drderiv committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    1b22d02 View commit details
    Browse the repository at this point in the history
  4. Update 6682_add.md

    Update to reflect change in approach suggested by @alexcjohnson.
    drderiv committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    7e17237 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    03c2b4f View commit details
    Browse the repository at this point in the history