import * as e from "echarts";
function o(t, i) {
  const n = e.init(t);
  return i && n.setOption(i), n;
}
function a(t, i) {
  i && t.setOption(i, !0);
}
function s(t) {
  t.dispose();
}
function d(t, i, n) {
  t.dispatchAction({
    type: "downplay",
    seriesIndex: 0,
    dataIndex: n
  }), t.dispatchAction({
    type: "showTip",
    seriesIndex: 0,
    dataIndex: i
  }), t.dispatchAction({
    type: "highlight",
    dataIndex: i
  });
}
export {
  s as destroyChart,
  o as initChart,
  d as tooltipAnimationFunc,
  a as updatedChartOption
};
