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

Word cloud appears more than once #77

Open
peterdesmet opened this issue Oct 19, 2015 · 3 comments
Open

Word cloud appears more than once #77

peterdesmet opened this issue Oct 19, 2015 · 3 comments
Labels

Comments

@peterdesmet
Copy link
Member

Sometimes you end up with more than one word cloud on the page. I haven't been able to figure out what triggers it exactly, but it seems to occur more when the word cloud is below the view window and you click several ranges in the chart in succession.

economic policy uncertainty index applied data mining

@peterdesmet
Copy link
Member Author

I can easily create up to 7 images. Probably caused by:

  1. User clicks chart
  2. D3 removes content from word cloud container.
  3. Long response time for word cloud doesn't add image yet
  4. Repeat step 1-3
  5. Response gets back: multiple images are added to word cloud container.

Any ideas how best to solve this?

@bartaelterman
Copy link
Member

Clear the svg (again?) when the data is returned?

@peterdesmet
Copy link
Member Author

Should we close this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants