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.
- package/lib/index.js +1 -1
- 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:
|
|
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));
|