拼空格也是不行的。左对齐就直接用html的方式吧
function(){
// 设置一个固定宽度容器,让内容左对齐,你要自己调整,你的内容少,可以设置比如50px或者80px你自己调试看
const containerWidth = '100px'; // 根据你的图表调整宽度,比如 100px、120px、150px
return '<div style="width:' + containerWidth + '; text-align:left; white-space:nowrap;">' + this + '</div>';
}

