Skip to content

Changes zoom.threshold default to 0#461

Merged
kurkle merged 1 commit intochartjs:masterfrom
pepstock-org:changeThresholdDefault
Apr 25, 2021
Merged

Changes zoom.threshold default to 0#461
kurkle merged 1 commit intochartjs:masterfrom
pepstock-org:changeThresholdDefault

Conversation

@stockiNail
Copy link
Copy Markdown
Contributor

@stockiNail stockiNail commented Apr 25, 2021

Reading the code, I have seen that threshold options for zoom, is initialized to 0:

const zoomThreshold = zoomOptions.threshold || 0;

Therefore I think the default could be document to 0, if I'm not wrong.

@kurkle kurkle merged commit 5e10fa8 into chartjs:master Apr 25, 2021
@kurkle
Copy link
Copy Markdown
Member

kurkle commented Apr 25, 2021

Thanks @stockiNail

@stockiNail stockiNail deleted the changeThresholdDefault branch April 25, 2021 14:12
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.

2 participants