ECharts Tooltip

LIJING0906發表於2018-12-19

此文首發於 lijing0906.github.io

option.tooltip.formatter: function(params) {
    let res = `${params[0].axisValue}:<br>`
    for (let i in params) {
        res += `${params[i].marker}${params[i].seriesName}${params[i].value}個<br>`
    }
    return res;
}
複製程式碼

ECharts Tooltip

相關文章