你能把堆叠条形图放在制表符 table 中吗?

Can you put a stacked bar chart in a tabulator table?

我想知道你是否可以在制表符中将进度条变成堆叠的水平条形图?

没有具有此功能的内置格式化程序,但添加您自己的 Custom Formatter 以添加您喜欢的任何类型的格式非常简单:

{title:"Name", field:"name", formatter:function(cell, formatterParams, onRendered){
    //cell - the cell component
    //formatterParams - parameters set for the column
    //onRendered - function to call when the formatter has been rendered

    return "Mr" + cell.getValue(); //return the contents of the cell;
}}