mirror of
https://github.com/ecomfe/vue-echarts.git
synced 2025-11-08 22:19:17 +08:00
chore: update demo
This commit is contained in:
33
src/demo/data/logo.js
Normal file
33
src/demo/data/logo.js
Normal 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 "";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
Reference in New Issue
Block a user