mustafa519 opened a new pull request, #21901:
URL: https://github.com/apache/echarts/pull/21901

   ## Brief Information
   
   - [x] bug fixing
   - [ ] new feature
   - [ ] others
   
   ### What does this PR do?
   
   Preserve chart rendering at numeric and missing-data boundaries, and recover 
the previous chart when replacing an option fails.
   
   ### Fixed issues
   
   No issue-closing references are attached to this review branch.
   
   ## Details
   
   ### Before: What was the problem?
   
   - Stepped line expansion could bridge missing-data gaps or lose 
point/animation alignment.
   - Cartesian layout and stack preparation could choose different base axes 
when a grid explicitly selected its base axis.
   - Rich-text tooltips did not apply the configured font and line height.
   - Loading animation options were not consistently forwarded; disabling 
animation could also hide the spinner.
   - Round-off at an axis endpoint could reject an otherwise valid coordinate.
   - A failed replacement option could leave the chart with a broken model or 
locked update state.
   
   ### After: How does it behave after the fixing?
   
   - Preserve gaps and matching point indices during stepped-line expansion, 
while keeping connectNulls behavior.
   - Resolve grid.baseAxis consistently for Cartesian layout and stack schema 
creation, including value and log axes.
   - Apply tooltip font and line height.
   - Respect loading duration, delay and easing, including a zero duration with 
a visible spinner. Keep named easing, cubic-bezier strings and callback easing 
supported.
   - Snap only coordinates within a small floating-point tolerance of the axis 
endpoints; reject distant and non-finite coordinates.
   - Restore the previous model and release the update lock after an option 
replacement throws, so resize and subsequent updates work.
   
   ## Document Info
   
   - [ ] This PR doesn't relate to document changes
   - [x] The document should be updated later
   - [ ] The document changes have been made in apache/echarts-doc#xxx
   
   The explicit grid.baseAxis option and loading-animation controls need 
documentation review before merging.
   
   ## Misc
   
   ### Security Checking
   
   No new security-sensitive Web API is introduced.
   
   ### ZRender Changes
   
   This source change does not require the separate canvas 
repaint/pointer-coordinate fixes.
   
   ### Related test cases or examples to use the new APIs
   
   - Added 12 numeric/loading regression cases in 
test/ut/spec/util/chartNumericOptions.test.ts.
   - The 596 source files and added test passed TypeScript 4.4.3 checking.
   - The 12 added cases passed; an additional 24 source-bundled VM checks 
passed with both normal numeric helpers and helpers removed to exercise the 
compatibility fallbacks.
   - All ten changed files passed the upstream ESLint toolchain.
   - Earlier Chromium and WebKit checks covered stepped-line gaps, stacking, 
tooltip styling, loading animation, endpoint coordinates and failed-option 
recovery against this same upstream base.
   
   The full upstream unit and visual suites have not been run for this branch. 
These targeted results do not imply that the full suites passed.
   
   ### Merging options
   
   - [ ] Please squash the commits into a single one when merging.
   
   ### Other information
   
   This is a review branch based on 34f4d927eafe251f26f63afd3aeefa30f2feba30. 
It contains source and tests only; no generated distributions or dependency 
overrides.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to