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

Duplicated node generation on subchart #2003

Closed
netil opened this issue Mar 25, 2021 · 0 comments
Closed

Duplicated node generation on subchart #2003

netil opened this issue Mar 25, 2021 · 0 comments
Assignees
Labels
Milestone

Comments

@netil
Copy link
Member

netil commented Mar 25, 2021

Description

When new data loaded via .load(), duplicated nodes are appended on subchart.

Steps to check or reproduce

  • Initialize chart with subchart.show=true option
  • Load new data using .load()
  • Duplicated node element append to the DOM tree
@netil netil added the bug label Mar 25, 2021
@netil netil added this to the 3.0 milestone Mar 25, 2021
@netil netil self-assigned this Mar 25, 2021
netil added a commit to netil/billboard.js that referenced this issue Mar 26, 2021
Fix incorrect selection merge where causing node duplication

Ref naver#2003
netil added a commit that referenced this issue Mar 26, 2021
Fix incorrect selection merge where causing node duplication

Fix #2003
@netil netil closed this as completed Mar 26, 2021
github-actions bot pushed a commit that referenced this issue Mar 26, 2021
# [3.0.0](2.2.6...3.0.0) (2021-03-26)

### Bug Fixes

* **axis:** fix axis.x.max error throw ([de06361](de06361)), closes [#1981](#1981)
* **axis:** fix axis.x.tick.tooltip on rotated axis ([eed2f86](eed2f86)), closes [#1990](#1990)
* **subchart:** fix duplicated node generation on data load ([d9a5d9a](d9a5d9a)), closes [#2003](#2003)
* **zoom:** fix zoom on latest chrome ([37edc9b](37edc9b)), closes [/github.com/d3/d3-zoom/issues/231#issuecomment-802305692](https://github.com//github.com/d3/d3-zoom/issues/231/issues/issuecomment-802305692) [#1992](#1992)

### Features

* **all:** update for d3 v6 ([2752e55](2752e55)), closes [#1641](#1641)
* **api:** Enhance .export() option to specify size ([3c2de80](3c2de80)), closes [#815](#815) [#1969](#1969)
* **api:** Intent to ship subchart APIs ([5572dc9](5572dc9)), closes [#1993](#1993)
* **candlestick:** Intent to ship candlestick ([8d37bd8](8d37bd8)), closes [#76](#76) [#1167](#1167)
* **candlestick:** Intent to ship candlestick type ([42307cb](42307cb))

### BREAKING CHANGES

* **all:** - Update to work on d3 v6
- Added getPoint() to get event's position coordinate

https://github.com/d3/d3/blob/master/CHANGES.md
https://observablehq.com/d/f91cccf0cad5e9cb
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

1 participant