koishi-plugin-chat-analyse 1.4.14 → 1.4.15

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 +2 -2
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -1709,11 +1709,11 @@ var Renderer = class {
1709
1709
  svgElements += `<polyline points="${points}" fill="none" stroke="${color}" stroke-width="2"/>`;
1710
1710
  });
1711
1711
  const chartAreaHeight = 280;
1712
- const legendMargin = 15;
1712
+ const legendMargin = 20;
1713
1713
  let legendBlockHeight = 0;
1714
1714
  if (series.length > 1) {
1715
1715
  const legendRows = Math.ceil(series.length / 3);
1716
- const legendRowHeight = 20;
1716
+ const legendRowHeight = 15;
1717
1717
  legendBlockHeight = legendRows * legendRowHeight;
1718
1718
  const LEGEND_START_Y = chartAreaHeight + legendMargin;
1719
1719
  const columnWidth = 560 / 3;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-chat-analyse",
3
3
  "description": "强大而全面的聊天数据分析插件。支持多维度统计(命令、发言、消息类型、活跃度),可生成发言排行、词云图,并提供完善的数据管理。",
4
- "version": "1.4.14",
4
+ "version": "1.4.15",
5
5
  "contributors": [
6
6
  "Yis_Rime <yis_rime@outlook.com>"
7
7
  ],