mirror of
https://github.com/ecomfe/vue-echarts.git
synced 2025-12-19 01:27:42 +08:00
* chore: eslint flat config * chore: format * update according to review * chore: remove prettier config and format * fix: move handler to script to bypass eslint * chore: config eslint for lang=js block * docs: add surrounding empty lines for code block * chore: also minify css in csp build * chore: publint
36 lines
703 B
JavaScript
36 lines
703 B
JavaScript
import logo from "../assets/Vue-ECharts.svg?raw";
|
|
|
|
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 "";
|
|
},
|
|
},
|
|
},
|
|
itemStyle: {
|
|
shadowBlur: 12,
|
|
shadowColor: "rgba(0, 0, 0, 0.25)",
|
|
},
|
|
},
|
|
],
|
|
};
|