koishi-plugin-chat-analyse 1.3.4 → 1.3.5
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/lib/index.js +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -1696,7 +1696,7 @@ var Renderer = class {
|
|
|
1696
1696
|
return randomPalette[Math.floor(Math.random() * randomPalette.length)];
|
|
1697
1697
|
});
|
|
1698
1698
|
const width = 600, height = 320;
|
|
1699
|
-
const padding = { top: 20, right:
|
|
1699
|
+
const padding = { top: 20, right: 20, bottom: 70, left: 20 };
|
|
1700
1700
|
const chartWidth = width - padding.left - padding.right;
|
|
1701
1701
|
const chartHeight = height - padding.top - padding.bottom;
|
|
1702
1702
|
const maxVal = Math.max(1, ...series.flatMap((s) => s.data));
|