Commit 612e513f authored by liuzhaoh's avatar liuzhaoh

解决0值tooltip不显示问题

parent 80de6725
...@@ -217,7 +217,7 @@ export const getLineOption2 = (xData = [], seriesData = [], legendDesc = "健康 ...@@ -217,7 +217,7 @@ export const getLineOption2 = (xData = [], seriesData = [], legendDesc = "健康
}, },
grid: { grid: {
left: "12%", left: "12%",
right: "5%", right: "50",
bottom: "15%", bottom: "15%",
top: "20%", top: "20%",
}, },
......
...@@ -204,7 +204,7 @@ const chartLinkageFun = (target) => { ...@@ -204,7 +204,7 @@ const chartLinkageFun = (target) => {
Object.keys(chartInstance).forEach((key) => { Object.keys(chartInstance).forEach((key) => {
instanceList.push(chartInstance[key]); instanceList.push(chartInstance[key]);
}); });
if (instanceList.length < 3) return; // if (instanceList.length < 3) return;
instanceList.forEach((item) => { instanceList.forEach((item) => {
item.off("showTip"); item.off("showTip");
item.off("globalout"); item.off("globalout");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment