Skip to content

fix: prevent oversized liquid values from hiding wave - #4576

Merged
xile611 merged 1 commit into
developfrom
fix/fix-liquid-whit-big-value
Sep 15, 2026
Merged

xile611 merged 1 commit into
developfrom
fix/fix-liquid-whit-big-value

Conversation

@xuefei1313

Copy link
Copy Markdown
Contributor

Clamp liquid geometry ratios above 1 to a full-water state while keeping data intact.

Also add local browser controls for checking the chart across container sizes.

Constraint: Oversized user values must not move the wave outside the visible mask.

Scope-risk: narrow

Confidence: high

Tested: npm test -- tests/unit/series/liquid.test.ts

[中文版模板 / Chinese template]

🤔 This is a ...

  • New feature
  • Bug fix
  • TypeScript definition update
  • Bundle size optimization
  • Performance optimization
  • Enhancement feature
  • Refactoring
  • Update dependency
  • Code style optimization
  • Test Case
  • Branch merge
  • Release
  • Site / documentation update
  • Demo update
  • Workflow
  • Other (about what?)

🔗 Related issue link

🔗 Related PR link

🐞 Bugserver case id

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English
🇨🇳 Chinese

☑️ Self-Check before Merge

⚠️ Please check all items below before requesting a reviewing. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

🚀 Summary

copilot:summary

🔍 Walkthrough

copilot:walkthrough

@xuefei1313

Copy link
Copy Markdown
Contributor Author

@codex review

@github-actions github-actions Bot added the vchart label May 8, 2026
Clamp liquid geometry ratios above 1 to a full-water state while keeping data intact.

Also add local browser controls for checking the chart across container sizes.

Constraint: Oversized user values must not move the wave outside the visible mask.

Scope-risk: narrow

Confidence: high

Tested: npm test -- __tests__/unit/series/liquid.test.ts
@xile611
xile611 force-pushed the fix/fix-liquid-whit-big-value branch from bcee007 to ae83dfc Compare September 15, 2026 08:23
@xile611
xile611 merged commit aa57d56 into develop Sep 15, 2026
7 of 10 checks passed
@xile611
xile611 deleted the fix/fix-liquid-whit-big-value branch September 15, 2026 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants