koishi-plugin-chat-analyse 1.3.8 → 1.3.9

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.
Files changed (2) hide show
  1. package/lib/index.js +1 -1
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -1700,7 +1700,7 @@ var Renderer = class {
1700
1700
  const shuffledColors = [...selectedPalette].sort(() => 0.5 - Math.random());
1701
1701
  const seriesColors = series.map((_, index) => shuffledColors[index % shuffledColors.length]);
1702
1702
  const width = 600, height = 320;
1703
- const padding = { top: 10, right: 15, bottom: 60, left: 25 };
1703
+ const padding = { top: 10, right: 20, bottom: 70, left: 20 };
1704
1704
  const chartWidth = width - padding.left - padding.right;
1705
1705
  const chartHeight = height - padding.top - padding.bottom;
1706
1706
  const maxVal = Math.max(1, ...series.flatMap((s) => s.data));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-chat-analyse",
3
3
  "description": "强大而全面的聊天数据分析,支持统计命令,发言,消息类型,活跃度,支持发言排行和生成词云",
4
- "version": "1.3.8",
4
+ "version": "1.3.9",
5
5
  "contributors": [
6
6
  "Yis_Rime <yis_rime@outlook.com>"
7
7
  ],