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

refactor(grid, regions): refactor to not redraw whole chart #3147

Merged
merged 1 commit into from
Mar 22, 2023

Conversation

netil
Copy link
Member

@netil netil commented Mar 22, 2023

Issue

#3037

Details

  • remove .redrawWithoutRescale() and replace its call to grid/regions APIs directly to reduce performance burden
  • remove separated grid.x.ts, grid.y.ts files and merge into grid.ts

- remove .redrawWithoutRescale() and replace its call to grid/regions APIs directly
to reduce performance burden
- remove separated grid.x.ts, grid.y.ts files and merge into grid.ts

Ref naver#3037
@netil netil self-assigned this Mar 22, 2023
@coveralls
Copy link

Coverage Status

Coverage: 90.717% (+0.04%) from 90.674% when pulling 3e6dcf9 on netil:regions#3037 into 54c8430 on naver:master.

@netil netil merged commit 947dcde into naver:master Mar 22, 2023
@netil netil deleted the regions#3037 branch March 22, 2023 09:30
@netil netil mentioned this pull request Apr 10, 2023
netil pushed a commit to netil/billboard.js that referenced this pull request Apr 10, 2023
When grid API is called, empty <rect> elements are appended.
Fix to not append unnecessary nodes.

Ref naver#3147
netil added a commit that referenced this pull request Apr 10, 2023
When grid API is called, empty <rect> elements are appended.
Fix to not append unnecessary nodes.

Fix #3147
github-actions bot pushed a commit that referenced this pull request Apr 10, 2023
# [3.8.0-next.2](3.8.0-next.1...3.8.0-next.2) (2023-04-10)

### Bug Fixes

* **grid:** fix redundant <rect> appends ([1039363](1039363)), closes [#3147](#3147)
* **sparkline:** Fix to work point.focus.only option ([65b3c1c](65b3c1c)), closes [#3171](#3171)

### Features

* **package:** extends root div interface for styling ([0a1fe08](0a1fe08)), closes [#3162](#3162) [#3163](#3163)
github-actions bot pushed a commit that referenced this pull request Apr 13, 2023
# [3.8.0](3.7.5...3.8.0) (2023-04-13)

### Bug Fixes

* **data:** fix break when whole dataseries are null ([#3134](#3134)) ([5d12c45](5d12c45)), closes [#3124](#3124)
* **grid:** fix redundant <rect> appends ([1039363](1039363)), closes [#3147](#3147)
* **options:** Fix handling for falsy data.types ([5eb731a](5eb731a)), closes [#3125](#3125)
* **sparkline:** Fix to work point.focus.only option ([65b3c1c](65b3c1c)), closes [#3171](#3171)

### Features

* **api:** Enhance resizeAfter for .load/unload APIs ([33bbca4](33bbca4)), closes [#3157](#3157)
* **axis:** Intent to ship axis.x.inverted ([e193c0f](e193c0f)), closes [#3137](#3137)
* **package:** extends root div interface for styling ([0a1fe08](0a1fe08)), closes [#3162](#3162) [#3163](#3163)
* **padding:** Intent to ship padding='fit' ([d760a63](d760a63)), closes [#3118](#3118)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants