chart.js - Chart JS Zoom Pan -


i using chart js zoom/pan plugin (https://github.com/chartjs/chartjs-plugin-zoom) , wondering if there way disable when there no data present. current basic options settings

pan: {
enabled: true,
mode: 'x'
},
zoom: {
enabled: true,
mode: 'x'
}

yes, can change setting "enabled" false and/or use chart.resetzoom() link


Comments

Popular posts from this blog

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

Ansible warning on jinja2 braces on when -