mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-05 08:09:22 +00:00
wip(o2-loop): round 1
This commit is contained in:
@@ -15,7 +15,6 @@
|
||||
|
||||
import { afterEach, describe, expect, it, vi } from "vitest";
|
||||
import * as echarts from "echarts";
|
||||
import { getECData } from "echarts/lib/util/innerStore";
|
||||
import { gt } from "@/types/i18n";
|
||||
import { convertPanelData } from "@/utils/dashboard/convertPanelData";
|
||||
import { usePanelDrilldown } from "./usePanelDrilldown";
|
||||
@@ -119,7 +118,7 @@ const dataItemPoint = (chart: echarts.ECharts) => {
|
||||
zr.flush();
|
||||
let best: { x: number; y: number; area: number } | null = null;
|
||||
zr.storage.getDisplayList(true).forEach((el: any) => {
|
||||
const ecData = getECData(el);
|
||||
const ecData = echarts.helper.getECData(el);
|
||||
if (el.silent || el.ignore || ecData?.dataIndex == null || el.type === "text") return;
|
||||
const rect = el.getBoundingRect().clone();
|
||||
const transform = el.getComputedTransform();
|
||||
|
||||
Reference in New Issue
Block a user