chore(plugin-chart-echarts): bump echarts to 5.2.2 (#1440)
* chore(plugin-chart-echarts): bump echarts to 5.2.2 * bump package
This commit is contained in:
parent
71935725c3
commit
b80b220e4b
|
|
@ -21428,8 +21428,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/echarts": {
|
||||
"version": "5.2.1",
|
||||
"integrity": "sha512-OJ79b22eqRfbSV8vYmDKmA+XWfNbr0Uk/OafWcFNIGDWti2Uw9A6eVCiJLmqPa9Sk+EWL+t5v26aak0z3gxiZw==",
|
||||
"version": "5.2.2",
|
||||
"resolved": "https://registry.npmjs.org/echarts/-/echarts-5.2.2.tgz",
|
||||
"integrity": "sha512-yxuBfeIH5c+0FsoRP60w4De6omXhA06c7eUYBsC1ykB6Ys2yK5fSteIYWvkJ4xJVLQgCvAdO8C4mN6MLeJpBaw==",
|
||||
"dependencies": {
|
||||
"tslib": "2.3.0",
|
||||
"zrender": "5.2.1"
|
||||
|
|
@ -46963,7 +46964,7 @@
|
|||
"@superset-ui/chart-controls": "0.18.17",
|
||||
"@superset-ui/core": "0.18.17",
|
||||
"d3-array": "^1.2.0",
|
||||
"echarts": "^5.2.1",
|
||||
"echarts": "^5.2.2",
|
||||
"lodash": "^4.17.15"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
|
@ -57203,7 +57204,7 @@
|
|||
"@superset-ui/chart-controls": "0.18.17",
|
||||
"@superset-ui/core": "0.18.17",
|
||||
"d3-array": "^1.2.0",
|
||||
"echarts": "^5.2.1",
|
||||
"echarts": "^5.2.2",
|
||||
"lodash": "^4.17.15"
|
||||
}
|
||||
},
|
||||
|
|
@ -64102,8 +64103,9 @@
|
|||
}
|
||||
},
|
||||
"echarts": {
|
||||
"version": "5.2.1",
|
||||
"integrity": "sha512-OJ79b22eqRfbSV8vYmDKmA+XWfNbr0Uk/OafWcFNIGDWti2Uw9A6eVCiJLmqPa9Sk+EWL+t5v26aak0z3gxiZw==",
|
||||
"version": "5.2.2",
|
||||
"resolved": "https://registry.npmjs.org/echarts/-/echarts-5.2.2.tgz",
|
||||
"integrity": "sha512-yxuBfeIH5c+0FsoRP60w4De6omXhA06c7eUYBsC1ykB6Ys2yK5fSteIYWvkJ4xJVLQgCvAdO8C4mN6MLeJpBaw==",
|
||||
"requires": {
|
||||
"tslib": "2.3.0",
|
||||
"zrender": "5.2.1"
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
"@superset-ui/chart-controls": "0.18.17",
|
||||
"@superset-ui/core": "0.18.17",
|
||||
"d3-array": "^1.2.0",
|
||||
"echarts": "^5.2.1",
|
||||
"echarts": "^5.2.2",
|
||||
"lodash": "^4.17.15"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
|
|
|||
|
|
@ -139,12 +139,12 @@ export default function EchartsTimeseries({
|
|||
}
|
||||
}, TIMER_DURATION);
|
||||
},
|
||||
mousemove: params => {
|
||||
currentSeries.name = params.seriesName;
|
||||
},
|
||||
mouseout: () => {
|
||||
currentSeries.name = '';
|
||||
},
|
||||
mouseover: params => {
|
||||
currentSeries.name = params.seriesName;
|
||||
},
|
||||
legendselectchanged: payload => {
|
||||
const currentTime = Date.now();
|
||||
// TIMER_DURATION is the interval between two legendselectchanged event
|
||||
|
|
|
|||
|
|
@ -173,6 +173,7 @@ export function transformSeries(
|
|||
// @ts-ignore
|
||||
type: plotType,
|
||||
smooth: seriesType === 'smooth',
|
||||
triggerLineEvent: true,
|
||||
// @ts-ignore
|
||||
step: ['start', 'middle', 'end'].includes(seriesType as string) ? seriesType : undefined,
|
||||
stack: stackId,
|
||||
|
|
|
|||
Loading…
Reference in New Issue