topic description
In the example of the K diagram on the official Echarts website, params [0] .value [0] is the first data value, but when I copy the code over, params [0] .value [0] becomes the data subscript and params [0] .value [1] becomes the first data value. I copied the whole code directly, and all the functions can be realized, so here comes bug .sources of topics and their own ideas
related codes
/ / Please paste the code text below (do not replace the code with pictures)
formatter: function (params) {
var res = params[0].seriesName + " " + params[0].name;
res += "<br/> :" + params[0].value[0] + " :" + params[0].value[3];
res += "<br/> : " + params[0].value[1] + " : " + params[0].value[2];
return res;
}