Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

Commit

Permalink
chore(plugin-chart-echarts): bump echarts to 5.2.2 (#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 Nov 1, 2021
1 parent 02b7963 commit 6b8cda4
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
14 changes: 8 additions & 6 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion plugins/plugin-chart-echarts/package.json
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

1 comment on commit 6b8cda4

@vercel
Copy link

@vercel vercel bot commented on 6b8cda4 Nov 1, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.