提交 25776d6b authored 作者: 胡卉清's avatar 胡卉清

合并分支 'dev_hhq' 到 'master'

Dev hhq 查看合并请求 !39
...@@ -160,71 +160,71 @@ export default { ...@@ -160,71 +160,71 @@ export default {
}; };
chart.setOption(option); chart.setOption(option);
const chart2 = echarts.init(this.$refs.timeLineChart); // const chart2 = echarts.init(this.$refs.timeLineChart);
const option2 = { // const option2 = {
xAxis: { // xAxis: {
type: "time", // type: "time",
position: "top", // position: "top",
axisLine: { // axisLine: {
show: true, // show: true,
lineStyle: { // lineStyle: {
color: "#000" // color: "#000"
} // }
}, // },
axisTick: { // axisTick: {
show: false // show: false
}, // },
axisLabel: { // axisLabel: {
formatter: "{value}日", // formatter: "{value}日",
color: "#000" // color: "#000"
}, // },
splitLine: { // splitLine: {
show: true // show: true
}, // },
data: [ // data: [
"2024-03-25", // "2024-03-25",
"2024-04-08", // "2024-04-08",
"2024-04-15", // "2024-04-15",
"2024-04-22", // "2024-04-22",
"2024-04-29", // "2024-04-29",
"2024-05-06", // "2024-05-06",
"2024-05-13", // "2024-05-13",
"2024-05-20", // "2024-05-20",
"2024-05-27", // "2024-05-27",
"2024-06-03", // "2024-06-03",
"2024-06-10", // "2024-06-10",
"2024-06-17", // "2024-06-17",
"2024-06-24", // "2024-06-24",
"2024-07-01", // "2024-07-01",
"2024-07-08", // "2024-07-08",
"2024-07-15", // "2024-07-15",
"2024-07-22", // "2024-07-22",
"2024-07-29" // "2024-07-29"
] // ]
}, // },
yAxis: { // yAxis: {
type: "value", // type: "value",
show: false // show: false
}, // },
series: [ // series: [
{ // {
data: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], // data: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
type: "line", // type: "line",
areaStyle: {}, // areaStyle: {},
emphasis: { // emphasis: {
focus: "series" // focus: "series"
} // }
} // }
], // ],
visualMap: { // visualMap: {
show: false, // show: false,
dimension: 1, // dimension: 1,
pieces: [{ gt: 0, lte: 1, color: "#ffcc00" }] // pieces: [{ gt: 0, lte: 1, color: "#ffcc00" }]
} // }
}; // };
chart2.setOption(option2); // chart2.setOption(option2);
} }
} }
}; };
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论