|
|
@@ -296,7 +296,7 @@ export const drawCharts: DrawChartsFunction = function(
|
|
|
timing: opts.timing,
|
|
|
duration: duration,
|
|
|
onProcess: function(process) {
|
|
|
- context.clearRect?.(0, 0, opts.width, opts.height);
|
|
|
+ context.clearRect(0, 0, opts.width, opts.height);
|
|
|
if (opts.rotate) {
|
|
|
contextRotate(context, opts);
|
|
|
}
|
|
|
@@ -309,7 +309,7 @@ export const drawCharts: DrawChartsFunction = function(
|
|
|
});
|
|
|
break;
|
|
|
case 'map':
|
|
|
- context.clearRect?.(0, 0, opts.width, opts.height);
|
|
|
+ context.clearRect(0, 0, opts.width, opts.height);
|
|
|
drawMapDataPoints(series, opts, config, context);
|
|
|
setTimeout(() => {
|
|
|
_this.uevent.trigger('renderComplete');
|
|
|
@@ -320,7 +320,7 @@ export const drawCharts: DrawChartsFunction = function(
|
|
|
timing: opts.timing,
|
|
|
duration: duration,
|
|
|
onProcess: function(process) {
|
|
|
- context.clearRect?.(0, 0, opts.width, opts.height);
|
|
|
+ context.clearRect(0, 0, opts.width, opts.height);
|
|
|
if (opts.rotate) {
|
|
|
contextRotate(context, opts);
|
|
|
}
|
|
|
@@ -339,7 +339,7 @@ export const drawCharts: DrawChartsFunction = function(
|
|
|
timing: opts.timing,
|
|
|
duration: duration,
|
|
|
onProcess: function onProcess(process) {
|
|
|
- context.clearRect?.(0, 0, opts.width, opts.height);
|
|
|
+ context.clearRect(0, 0, opts.width, opts.height);
|
|
|
if (opts.rotate) {
|
|
|
contextRotate(context, opts);
|
|
|
}
|
|
|
@@ -370,7 +370,7 @@ export const drawCharts: DrawChartsFunction = function(
|
|
|
timing: opts.timing,
|
|
|
duration: duration,
|
|
|
onProcess: function onProcess(process) {
|
|
|
- context.clearRect?.(0, 0, opts.width, opts.height);
|
|
|
+ context.clearRect(0, 0, opts.width, opts.height);
|
|
|
if (opts.rotate) {
|
|
|
contextRotate(context, opts);
|
|
|
}
|
|
|
@@ -401,7 +401,7 @@ export const drawCharts: DrawChartsFunction = function(
|
|
|
timing: opts.timing,
|
|
|
duration: duration,
|
|
|
onProcess: function onProcess(process) {
|
|
|
- context.clearRect?.(0, 0, opts.width, opts.height);
|
|
|
+ context.clearRect(0, 0, opts.width, opts.height);
|
|
|
if (opts.rotate) {
|
|
|
contextRotate(context, opts);
|
|
|
}
|
|
|
@@ -432,7 +432,7 @@ export const drawCharts: DrawChartsFunction = function(
|
|
|
timing: opts.timing,
|
|
|
duration: duration,
|
|
|
onProcess: function onProcess(process) {
|
|
|
- context.clearRect?.(0, 0, opts.width, opts.height);
|
|
|
+ context.clearRect(0, 0, opts.width, opts.height);
|
|
|
if (opts.rotate) {
|
|
|
contextRotate(context, opts);
|
|
|
}
|
|
|
@@ -463,7 +463,7 @@ export const drawCharts: DrawChartsFunction = function(
|
|
|
timing: opts.timing,
|
|
|
duration: duration,
|
|
|
onProcess: function onProcess(process) {
|
|
|
- context.clearRect?.(0, 0, opts.width, opts.height);
|
|
|
+ context.clearRect(0, 0, opts.width, opts.height);
|
|
|
if (opts.rotate) {
|
|
|
contextRotate(context, opts);
|
|
|
}
|
|
|
@@ -494,7 +494,7 @@ export const drawCharts: DrawChartsFunction = function(
|
|
|
timing: opts.timing,
|
|
|
duration: duration,
|
|
|
onProcess: function onProcess(process) {
|
|
|
- context.clearRect?.(0, 0, opts.width, opts.height);
|
|
|
+ context.clearRect(0, 0, opts.width, opts.height);
|
|
|
if (opts.rotate) {
|
|
|
contextRotate(context, opts);
|
|
|
}
|
|
|
@@ -525,7 +525,7 @@ export const drawCharts: DrawChartsFunction = function(
|
|
|
timing: opts.timing,
|
|
|
duration: duration,
|
|
|
onProcess: function onProcess(process) {
|
|
|
- context.clearRect?.(0, 0, opts.width, opts.height);
|
|
|
+ context.clearRect(0, 0, opts.width, opts.height);
|
|
|
if (opts.rotate) {
|
|
|
contextRotate(context, opts);
|
|
|
}
|
|
|
@@ -556,7 +556,7 @@ export const drawCharts: DrawChartsFunction = function(
|
|
|
timing: opts.timing,
|
|
|
duration: duration,
|
|
|
onProcess: function onProcess(process) {
|
|
|
- context.clearRect?.(0, 0, opts.width, opts.height);
|
|
|
+ context.clearRect(0, 0, opts.width, opts.height);
|
|
|
if (opts.rotate) {
|
|
|
contextRotate(context, opts);
|
|
|
}
|
|
|
@@ -587,7 +587,7 @@ export const drawCharts: DrawChartsFunction = function(
|
|
|
timing: opts.timing,
|
|
|
duration: duration,
|
|
|
onProcess: function onProcess(process) {
|
|
|
- context.clearRect?.(0, 0, opts.width, opts.height);
|
|
|
+ context.clearRect(0, 0, opts.width, opts.height);
|
|
|
if (opts.rotate) {
|
|
|
contextRotate(context, opts);
|
|
|
}
|
|
|
@@ -606,7 +606,7 @@ export const drawCharts: DrawChartsFunction = function(
|
|
|
timing: opts.timing,
|
|
|
duration: duration,
|
|
|
onProcess: function onProcess(process) {
|
|
|
- context.clearRect?.(0, 0, opts.width, opts.height);
|
|
|
+ context.clearRect(0, 0, opts.width, opts.height);
|
|
|
if (opts.rotate) {
|
|
|
contextRotate(context, opts);
|
|
|
}
|
|
|
@@ -625,7 +625,7 @@ export const drawCharts: DrawChartsFunction = function(
|
|
|
timing: opts.timing,
|
|
|
duration: duration,
|
|
|
onProcess: function onProcess(process) {
|
|
|
- context.clearRect?.(0, 0, opts.width, opts.height);
|
|
|
+ context.clearRect(0, 0, opts.width, opts.height);
|
|
|
if (opts.rotate) {
|
|
|
contextRotate(context, opts);
|
|
|
}
|
|
|
@@ -644,7 +644,7 @@ export const drawCharts: DrawChartsFunction = function(
|
|
|
timing: opts.timing,
|
|
|
duration: duration,
|
|
|
onProcess: function onProcess(process) {
|
|
|
- context.clearRect?.(0, 0, opts.width, opts.height);
|
|
|
+ context.clearRect(0, 0, opts.width, opts.height);
|
|
|
if (opts.rotate) {
|
|
|
contextRotate(context, opts);
|
|
|
}
|
|
|
@@ -663,7 +663,7 @@ export const drawCharts: DrawChartsFunction = function(
|
|
|
timing: opts.timing,
|
|
|
duration: duration,
|
|
|
onProcess: function onProcess(process) {
|
|
|
- context.clearRect?.(0, 0, opts.width, opts.height);
|
|
|
+ context.clearRect(0, 0, opts.width, opts.height);
|
|
|
if (opts.rotate) {
|
|
|
contextRotate(context, opts);
|
|
|
}
|
|
|
@@ -680,7 +680,7 @@ export const drawCharts: DrawChartsFunction = function(
|
|
|
timing: opts.timing,
|
|
|
duration: duration,
|
|
|
onProcess: function onProcess(process) {
|
|
|
- context.clearRect?.(0, 0, opts.width, opts.height);
|
|
|
+ context.clearRect(0, 0, opts.width, opts.height);
|
|
|
if (opts.rotate) {
|
|
|
contextRotate(context, opts);
|
|
|
}
|
|
|
@@ -697,7 +697,7 @@ export const drawCharts: DrawChartsFunction = function(
|
|
|
timing: opts.timing,
|
|
|
duration: duration,
|
|
|
onProcess: function onProcess(process) {
|
|
|
- context.clearRect?.(0, 0, opts.width, opts.height);
|
|
|
+ context.clearRect(0, 0, opts.width, opts.height);
|
|
|
if (opts.rotate) {
|
|
|
contextRotate(context, opts);
|
|
|
}
|