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: add one point support for LineMark #306

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

dan12411
Copy link
Contributor

Description

Sometime we need to display one point on LineMark chart. For example, a realtime stock trend chart, which only one point when market just started.

Architecture

If there is only one point, draw the CircleElement instead, and the radius of circle is the half of strokeWidth.

Demo:

one_point

@entronad entronad merged commit 0cd16d1 into entronad:main Jul 26, 2024
1 check passed
@dan12411 dan12411 deleted the change/line_mark_support_one_point branch July 26, 2024 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants