chore: update demo

This commit is contained in:
Justineo
2021-02-20 15:22:33 +08:00
parent fccd92b36d
commit cd5a9ec695
18 changed files with 2359 additions and 44 deletions

33
src/demo/data/logo.js Normal file
View File

@ -0,0 +1,33 @@
/* eslint-disable */
import logo from '../assets/Vue-ECharts.svg'
/* eslint-enable */
const d = logo.match(/\bd="([^"]+)"/)[1];
export default {
series: [
{
type: "liquidFill",
data: [0.7, 0.6, 0.55, 0.45],
amplitude: 6,
outline: {
show: false
},
radius: "60%",
color: ["#4fc08d", "#44d64a", "#33c762", "#4acc80"],
backgroundStyle: {
color: "#fff",
borderColor: "#2c3e50",
borderWidth: 1
},
shape: `path://${d}`,
label: {
normal: {
formatter() {
return "";
}
}
}
}
]
};