import { defineComponent as r, ref as t, createBlock as n, openBlock as a, mergeProps as u } from "vue";
import i from "../../../commons/components/common-chart/index.vue.mjs";
const c = r({ name: "zv-chart-bar-polar2" }), h = /* @__PURE__ */ r({
  ...c,
  props: {
    basicOption: {},
    sources: {},
    useEvents: {},
    uuid: {}
  },
  setup(f, { expose: o }) {
    const s = t();
    return o({
      getEchartsInstance: () => {
        var e;
        return (e = s.value) == null ? void 0 : e.getEchartsInstance();
      },
      refresh: () => {
        var e;
        return (e = s.value) == null ? void 0 : e.refresh();
      },
      refreshView: () => {
        var e;
        return (e = s.value) == null ? void 0 : e.refreshView();
      },
      refreshData: () => {
        var e;
        return (e = s.value) == null ? void 0 : e.refreshData();
      }
    }), (e, p) => (a(), n(i, u({
      ref_key: "componentRef",
      ref: s,
      option: e.basicOption,
      sources: e.sources,
      "use-events": e.useEvents,
      uuid: e.uuid,
      "is-multi-series": !1
    }, e.$attrs), null, 16, ["option", "sources", "use-events", "uuid"]));
  }
});
export {
  h as default
};
