"use strict";
const common_vendor = require("../../../../common/vendor.js");
if (!Array) {
  const _easycom_qiun_data_charts2 = common_vendor.resolveComponent("qiun-data-charts");
  _easycom_qiun_data_charts2();
}
const _easycom_qiun_data_charts = () => "../../../../uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.js";
if (!Math) {
  (_easycom_qiun_data_charts + ChartCard)();
}
const ChartCard = () => "../../../../components/chartCard.js";
const _sfc_main = {
  __name: "educationCard",
  setup(__props) {
    const opts = common_vendor.ref({
      padding: [15, 15, 0, 15],
      enableScroll: false,
      legend: {
        show: false
      },
      xAxis: {
        disableGrid: true,
        rotateLabel: true,
        rotateAngle: -30,
        fontSize: 10
      },
      yAxis: {
        gridType: "dash",
        dashLength: 2
      },
      extra: {
        tooltip: {
          showBox: false
        },
        area: {
          type: "curve",
          opacity: 0.2,
          addLine: true,
          width: 2,
          gradient: true,
          activeType: "hollow"
        }
      }
    });
    const chartData = common_vendor.ref({});
    const handleTap = (e) => {
      common_vendor.index.__f__("log", "at pages/index/board/safe/educationCard.vue:52", e);
    };
    common_vendor.onReady(() => {
      let res = {
        categories: ["专项培训", "特种作业\n培训", "三级安全\n教育培训", "安全技术\n交底"],
        series: [{
          data: [302265, 70770, 399175, 14851]
        }]
      };
      chartData.value = JSON.parse(JSON.stringify(res));
    });
    return (_ctx, _cache) => {
      return {
        a: common_vendor.o(handleTap, "c3"),
        b: common_vendor.p({
          type: "area",
          opts: opts.value,
          chartData: chartData.value
        }),
        c: common_vendor.p({
          margin: "0 0 30rpx 0",
          title: "教育培训"
        })
      };
    };
  }
};
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-a6a882bc"]]);
wx.createComponent(Component);
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/pages/index/board/safe/educationCard.js.map
