Skip to content

FormsPlotViewer: Support bidirectional syncing #2653

@bukkideme

Description

@bukkideme

Hi!

The actual behaviour of the "Open in new window" is that, we get a new window with the content of the parent window. However, when we update the actual plot, change its content, etc, these changes only gets updated in the opened secondary window, if we mouse click inside the ScottPlot control inside this secondary window.

I wonder how we could make this useful feature more interactive? Of course the developer can just make her/his own right click menu, and create a custom secondary window, but we already have this feature, we could improve it?
As I see a FormsPlotViewer.cs class is used in this case, but I do not understand yet why the changes only propagate from the parent to the child Plot when we click inside the secondary child plot? Do you think we could make it do this update automatic?
Regards!

edit: i had a question about the opposite, some time ago, how to make it NOT reflecting the changes inside the parent Plot :) Here it is: #2493

Metadata

Metadata

Assignees

No one assigned

    Labels

    Help WantedScott won't do this soon, but PRs from the community are welcome!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions