baoshiwei
2025-04-19 5d36e1f987ef21e44ded2e8a1d06c28094ec1e76
zhitan-vue/src/components/Echarts/LineChart.vue
@@ -59,7 +59,7 @@
    name: item.name,
    type: props.chartType, // 根据传入类型渲染
    data: item.data,
    barWidth: "16",
    barWidth: props.chartData.barWidth || "16",
    itemStyle: {
      borderRadius: [15, 15, 0, 0],
    },
@@ -68,7 +68,7 @@
  console.log("initChart", series)
  let option = {
    title: {
      // text: props.chartData.title,
      text: props.chartData.title || "",
      left: "40",
      textStyle: {
        color: "#2979ff",