mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 06:12:53 +08:00
33 lines
673 B
JavaScript
33 lines
673 B
JavaScript
// var chartDom = document.getElementById("chart")
|
|
// var myChart = echarts.init(chartDom)
|
|
// var option
|
|
|
|
// option = {
|
|
// backgroundColor: "#E0899E",
|
|
// animation: false,
|
|
// xAxis: {
|
|
// type: "category",
|
|
// data: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
|
|
// axisLabel: {
|
|
// color: "#fff",
|
|
// fontSize: 20,
|
|
// },
|
|
// },
|
|
// yAxis: {
|
|
// type: "value",
|
|
// axisLabel: {
|
|
// color: "#fff",
|
|
// fontSize: 20,
|
|
// },
|
|
// },
|
|
// series: [
|
|
// {
|
|
// data: [820, 932, 901, 934, 1290, 1330, 1320],
|
|
// type: "line",
|
|
// smooth: true,
|
|
// },
|
|
// ],
|
|
// }
|
|
|
|
// option && myChart.setOption(option)
|