feat(ppmt): 新增分地区收入占比与门店数量图表
- 新增分地区收入占比、零售门店数量、机器人商店数量三张图表及对应 CSV 数据 - 渠道收入图矮段标签外置并扇形排布,避免段内标签挤压 - IP 收入占比图改用 standardLegend 统一图例样式 - 折线标注增加白底描边,提升可读性
This commit is contained in:
+3
-1
@@ -176,7 +176,7 @@ export const legendStyle = {
|
||||
},
|
||||
};
|
||||
|
||||
/** 折线标注:带白底描边,避免压在网格线上看不清 */
|
||||
/** 折线标注:白底描边,避免标签被折线自身或柱体穿过时看不清 */
|
||||
export function labelStyle(color, position = 'top') {
|
||||
return {
|
||||
show: true,
|
||||
@@ -186,6 +186,8 @@ export function labelStyle(color, position = 'top') {
|
||||
fontFamily: FONT,
|
||||
fontWeight: 500,
|
||||
distance: 8,
|
||||
textBorderColor: '#fff',
|
||||
textBorderWidth: 3,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user