question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How can I preserve the view state of the plot?

See original GitHub issue

I’m providing new x, y and z values on a time based manner to the plot. As expected the plot is newly rendered, since the values are pushed through the state Now I would like to preserve the previous zoom, pan, tilt and apply it at render time, so that e.g. an outer rotation is not reverted by the redraw. How can I achieve this?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:20 (6 by maintainers)

github_iconTop GitHub Comments

0reactions
elv1s42commented, Oct 8, 2020

@nicolaskruchten, the issue is closed, but still, it exists and is reproducible

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Correctly Save the State of a Custom View in Android
Everything works well! This is one of the ways to save the state of your own view, but there is another interesting solution...
Read more >
Android: How to save state in a custom View - Medium
Here's the bare bones essentials for saving state for a custom View in Android. Assign an ID to your View. Every time I...
Read more >
Save UI states - Android Developers
Learn how to preserve your UI state across config changes.
Read more >
How to NOT save view state in Android? - Stack Overflow
Controls whether the saving of this view's state is enabled (that is, whether its onSaveInstanceState() method will be called).
Read more >
Preserving UI State, like Zoom, in dcc.Graph with uirevision ...
Graph component, the graph's “view” will get reset when the callback ... or twist a 3D surface plot, then those changes won't be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found