(feature)(chat-sdk) trend chart supports switch between line and bar,add second drill-down dimensions,chang queryMode from ENTITY to TAG (#422)

This commit is contained in:
williamhliu
2023-11-25 11:13:10 +08:00
committed by GitHub
parent fe2a424718
commit 0534053ff9
17 changed files with 251 additions and 127 deletions

View File

@@ -89,7 +89,7 @@ export const formatNumberWithCN = (num: number) => {
if (num >= 10000) {
return (num / 10000).toFixed(1) + "万";
} else {
return num;
return formatByDecimalPlaces(num, 2);
}
}