1👍
If you do not want problems caused by “position: fixed;” on element,
canvas parent element should not have css property “overflow” with value “hidden”.
So define something like “overflow: visible;” on parent element.
0👍
Try this:
// If Samsung android browser is detected
if (window.navigator && window.navigator.userAgent.indexOf('534.30') > 0) {
// Tweak the canvas opacity, causing it to redraw
$('canvas').css('opacity', '0.99');
// Set the canvas opacity back to normal after 5ms
setTimeout(function() {
$('canvas').css('opacity', '1');
}, 5);
}
- Chartjs-How do I add Date range filter in chartjs in the context of Vue.js
- Chartjs-How do I prevent Chartjs tooltip callback returning multiple instances of the same value?
0👍
I met this problem too. I solved it by using position:relative , left and -webkit-transform instead margin;
. The problem was solved accidentally.
- Chartjs-How to show label for second y-axis in charts.js?
- Chartjs-How to set lower and upper bound in react react-chartjs-2?
Source:stackexchange.com