From f07b70558d5b84f1070470229037629bc1ace006 Mon Sep 17 00:00:00 2001 From: wjt <1797368093@qq.com> Date: 星期六, 22 六月 2024 14:39:30 +0800 Subject: [PATCH] 接口对接 --- uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js b/uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js index f78bde5..8704dae 100644 --- a/uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js +++ b/uni_modules/qiun-data-charts/js_sdk/u-charts/u-charts.js @@ -2806,6 +2806,23 @@ if(toolTipOption.showCategory==true && opts.categories){ textList.unshift({text:opts.categories[opts.tooltip.index],color:null}) } + if (textList[0].text.split("/")[0] == "鎹㈣") { + let newTextList = [{ + "color": "#FCDB66", + "legendShape": "circle", + "text": textList[0].text.split("/")[1] + }, + { + "color": "transparent", + "text": textList[0].text.split("/")[2] + }, + { + "color": "transparent", + "text": textList[0].text.split("/")[3] + }, + ] + textList = newTextList + } var fontSize = toolTipOption.fontSize * opts.pix; var lineHeight = toolTipOption.lineHeight * opts.pix; var boxPadding = toolTipOption.boxPadding * opts.pix; -- Gitblit v1.9.1