wjt
2024-06-22 f07b70558d5b84f1070470229037629bc1ace006
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;