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(drag): maintainAspectRatio #861

Merged
merged 3 commits into from
Nov 17, 2024
Merged

feat(drag): maintainAspectRatio #861

merged 3 commits into from
Nov 17, 2024

Conversation

kurkle
Copy link
Member

@kurkle kurkle commented Nov 16, 2024

Add optional maintainAspectRatio boolean to drag options, which forces the drag rectangle to same aspect ration with chartArea.

closed: #115

Copy link

github-actions bot commented Nov 16, 2024

Size Change: +682 B (+3.51%)

Total Size: 20.1 kB

Filename Size Change
dist/chartjs-plugin-zoom.esm.js 7.29 kB +245 B (+3.48%)
dist/chartjs-plugin-zoom.js 7.44 kB +245 B (+3.41%)
dist/chartjs-plugin-zoom.min.js 5.39 kB +192 B (+3.69%)

compressed-size-action

@kurkle kurkle requested a review from LeeLenaleee November 17, 2024 12:09
@kurkle kurkle force-pushed the feat/maintain-aspect-ratio branch from 6a96921 to 2e39d70 Compare November 17, 2024 12:29
@kurkle kurkle force-pushed the feat/maintain-aspect-ratio branch from 2e39d70 to 35425f0 Compare November 17, 2024 19:24
@kurkle kurkle merged commit 9388185 into master Nov 17, 2024
12 checks passed
@kurkle kurkle deleted the feat/maintain-aspect-ratio branch November 17, 2024 21:23
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.

Zoom ratio X:X
2 participants