Skip to content

FormsPlotViewer constructor overload with sync type option#2710

Merged
swharden merged 1 commit intoScottPlot:mainfrom
bukkideme:main
Jul 6, 2023
Merged

FormsPlotViewer constructor overload with sync type option#2710
swharden merged 1 commit intoScottPlot:mainfrom
bukkideme:main

Conversation

@bukkideme
Copy link
Contributor

Three sync types for the FormsPlotViewer:

  • NoSync,
  • SyncToParent,
  • SyncFromParent

@bukkideme
Copy link
Contributor Author

bukkideme commented Jul 2, 2023

Just a note: the "SyncFromParent" actually contains the "SyncToParent" mode too, so we could call it like "SyncBoth" or something?

edit: i was testing with an automatically growing data plot, so i guess that is why the axis changes at the child got updated at the parent. So the naming might stay as it is now?

@swharden swharden linked an issue Jul 5, 2023 that may be closed by this pull request
swharden added a commit to bukkideme/ScottPlot that referenced this pull request Jul 5, 2023
pulls code related to ScottPlot#2710 out of this PR (ScottPlot#2711)
@swharden swharden merged commit b2192c7 into ScottPlot:main Jul 6, 2023
swharden added a commit that referenced this pull request Jul 6, 2023
@swharden
Copy link
Member

swharden commented Jul 6, 2023

whoops, I merged this too soon... I'll create a new branch/PR and extend this a bit more

bidirectional

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FormsPlotViewer: Support bidirectional syncing

2 participants