Open Toolika11 opened 6 years ago
Having the same issue here
Was anyone able to resolve this issue?
+1
Same issue
Attempted import error: 'devicePixelBackingStoreRatio' is not exported from '../helpers/utils'.
Same issue.
+1
+1
this is really easy to fix.. just export the devicePixelBackingStoreRatio like
export var devicePixelBackingStoreRatio = optimizeForHiDPI ? devicePixelRatio / backingStoreRatio : 1;
this line https://github.com/tsur/canvasjs/blob/master/src/helpers/utils.js#L716
on latest version 1.8.3
the import error should be gone 😅, thanks!
@tsur what exactly is this library ? .. is this the initial library before the comercial canvasjs was launched ?
Do you plan to add features to this ? I am willing to help if that's the case.
../helpers/utils' does not contain an export named 'devicePixelBackingStoreRatio here -> https://github.com/tsur/canvasjs/blob/master/src/core/charts.js#L32