import { defineComponent as n, computed as o, openBlock as a, createElementBlock as l, createVNode as m, unref as r, normalizeStyle as s } from "vue";
import p from "../../../NComponents/echartsContainer/EchartsContainer.mjs";
const h = n({ name: "EScatterCommon" }), y = /* @__PURE__ */ n({
  ...h,
  props: {
    themeColor: {
      type: Object,
      required: !1
    },
    themeSetting: {
      type: Object,
      required: !1
    },
    chartConfig: {
      type: Object,
      required: !0
    }
  },
  setup(t) {
    const e = t, c = o(() => e.chartConfig.option), i = o(() => ({
      height: e.chartConfig.attr.h,
      width: e.chartConfig.attr.w
    }));
    return (u, f) => (a(), l("div", null, [
      m(p, {
        options: r(c),
        style: s(r(i)),
        theme: t.themeColor
      }, null, 8, ["options", "style", "theme"])
    ]));
  }
});
export {
  y as default
};
