Peter Lee

Results 59 comments of Peter Lee

> @perryclee01 If you want to use your own format in pivottable, you might want to start with the `TableRenders.jsx` component,you can see the final result is formatted by something...

> I guess you just want to format the **Total** row/col ? Yes.

> I guess you just want to format the **Total** row/col ? e.g. Rows values like: 3.4k, 1.2k, 1.1k. Totals row should equels 5.7k, but now totals row is 5.70.

I found i didn't append values to vals[], i solved it. But now i want to know how to format totals value? I found code source just keep two fixed....

> now Can I use i18n? Maybe you can finish yourself i18n function! I had finished mutiple language feature in beta v9.0.0. [Support Chinese and English Feature](https://discuss.redash.io/t/internationalize-redash/1207/17?u=guyu)

[I pushed this PR to support multi-language feature. ](https://github.com/getredash/redash/pull/5295#issue-531769857)

> any updates? 创建一个文件夹然后代码放进去,维护那个zh.js文件就好了,用的时候其他地方导入 t 这个函数,包在想翻译的地方,因为我本地的项目和线上的改变很多了,所以我上传我的js基本也用不到

> Looks like bahrain was not defined in `viz-lib/src/visualizations/choropleth/maps/countries.geo.json` which has resulted in missing the country from the map. You are right!