Skip to content

Commit

Permalink
chore(plugin-chart-echarts): bump echarts to 5.2.2 (apache#1440)
Browse files Browse the repository at this point in the history
* chore(plugin-chart-echarts): bump echarts to 5.2.2

* bump package
  • Loading branch information
villebro authored and zhaoyongjie committed Nov 25, 2021
1 parent b3d26c9 commit 08bb9c3
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 08bb9c3

Please sign in to comment.