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 #860

Closed
wants to merge 3 commits into from
Closed

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: +858 B (+3.97%)

Total Size: 22.5 kB

Filename Size Change
dist/chartjs-plugin-zoom.esm.js 8.58 kB +323 B (+3.91%)
dist/chartjs-plugin-zoom.js 8.73 kB +321 B (+3.82%)
dist/chartjs-plugin-zoom.min.js 5.16 kB +214 B (+4.33%)

compressed-size-action

@kurkle kurkle force-pushed the feat/maintain-aspect-ratio branch from a6bd1c6 to 6a96921 Compare November 16, 2024 11:44
@kurkle kurkle closed this Nov 16, 2024
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
1 participant