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

Feat/point sampling #1291

Closed
wants to merge 7 commits into from
Closed

Feat/point sampling #1291

wants to merge 7 commits into from

Conversation

skie1997
Copy link
Contributor

@skie1997 skie1997 commented Oct 24, 2023

[中文版模板 / 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

close #460

🔗 Related PR link

VisActor/VGrammar#225

🐞 Bugserver case id

65395f4b159a621b655d9ff1
65395ee3159a621b655d9ff0

💡 Background and solution

新增功能:

  • 折线图、柱状图 数据采样
  • 折线图point mark 防重叠

实现思路:
1、数据采样:

2、图元防重叠:依赖vGrammar的mark transform,type:'markoverlap'

  • 在line series 中自定义compiler逻辑, 通过this._symbolMark.getProduct().transform()为数据注入transform

image
image

📝 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

@skie1997 skie1997 changed the title WIP:Feat/point sampling Feat/point sampling Oct 26, 2023
@skie1997 skie1997 changed the base branch from develop to dev/1.6.0 October 26, 2023 03:34
@skie1997 skie1997 closed this Oct 26, 2023
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.

[Feature] 数据采样 Point overlap
2 participants