Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
imac-vue
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
jinhui.wang
2022-11-15 11:06:02 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
aa72e5fc687e969f1b8541970dec8e74ac5fefd1
aa72e5fc
1 parent
f7390d80
动画效果修正
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
src/components/echarts/echarts-series.vue
src/components/echarts/echarts-series.vue
View file @
aa72e5f
...
...
@@ -164,19 +164,18 @@ export default {
}]
},
options: {
events: ['
click
'],
events: [''],
hover: {
intersect: false,
animationDuration: 0
},
animation: {
duration: 0,
duration:
50
0,
onComplete: (val) => {
let ctx = val.chart.ctx
ctx.textAlign = 'center';
ctx.textBaseline = 'bottom';
ctx.font = '14px \"Helvetica Neue\", Helvetica, Arial, sans-serif'
console.log(ctx)
val.chart.data.datasets.forEach((dataset, i) => {
if (val.chart.isDatasetVisible(i)) {
var meta = val.chart.getDatasetMeta(i);
...
...
Please
register
or
login
to post a comment