Skip to content

Conversation

@Mynamewasused
Copy link

New Plot is expensive and discards event handlers, react is a better option.

@Bob-Thomas
Copy link

indeed like mentioned in #10

@manthey
Copy link

manthey commented Feb 18, 2019

This also would fix issues #12 and #16.

@harryjubb
Copy link

@statnett @gwdekker @wendelborg any update on this?

@mokkabonna
Copy link
Contributor

This PR broke the tests, the referenced commit also fixes tests. Data need to be immutable or datarevision need to be set. I chose the latter approach in watch handler for data.

amfine-soft-drault added a commit to amfine-soft-jguillin/vue-plotly that referenced this pull request Nov 29, 2019
* upstream/master:
  0.3.2
  Using react for resize event
  0.3.1
  Replace all usages of newPlot
  Formatting
  Formatting
  0.3.0
  Build for custom png export
  Add afterplot event. Closes statnett#13
  Use react instead of newPlot to redraw. Closes statnett#11
  toImageButton defaults to 700x450 - ignoring container width/height. this change sets the width/height to be the same size as the current plotly container size
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.

6 participants