zzz-pc-view 0.0.119 → 0.0.120

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zzz-pc-view",
3
- "version": "0.0.119",
3
+ "version": "0.0.120",
4
4
  "main": "src/index.umd.js",
5
5
  "module": "src/index.es.js",
6
6
  "types": "src/index.d.ts",
package/src/index.es.js CHANGED
@@ -2976,8 +2976,8 @@ const useChartStyleConfig = (param) => {
2976
2976
  // 设置图例的水平对齐位置或偏移量。如果传入的 param.legendLeft 有值,则使用该值;
2977
2977
  // 否则,使用默认值 'center',表示图例水平居中对齐。
2978
2978
  legendLeft: param.legendLeft ?? "center",
2979
- // 图例的宽度,如果未提供则使用默认值 0.8
2980
- legendWidth: param.legendWidth || 80 / 100,
2979
+ // 图例的宽度,如果未提供则使用默认值 80
2980
+ legendWidth: (param.legendWidth || 80) / 100,
2981
2981
  // 图例的字体大小,如果未提供则使用默认值 12
2982
2982
  legendFontSize: param.legendFontSize ?? 12,
2983
2983
  // 图例的字体族,如果未提供则使用默认的文本字体族