ccus-cli 0.1.0 → 0.1.1
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/README.md +0 -6
- package/dist/lib/aggregate-dashboard.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -199,7 +199,7 @@ function renderDailyUserRequestChart(people, dailyIndex, dateAxis) {
|
|
|
199
199
|
* 用横向条形图对比每个人的「周使用量(7 天额度)峰值」。
|
|
200
200
|
*
|
|
201
201
|
* 7 天额度是 Claude 给出的滚动周额度使用率,峰值代表这段时间里每个人最接近用满周额度的程度。
|
|
202
|
-
*
|
|
202
|
+
* 条长按固定的 100% 满刻度归一,直接反映绝对使用率水平;右侧仍标注绝对百分比。
|
|
203
203
|
*/
|
|
204
204
|
function renderSevenDayPeakChart(people) {
|
|
205
205
|
const ranked = people
|
|
@@ -227,7 +227,7 @@ function renderSevenDayPeakChart(people) {
|
|
|
227
227
|
const height = paddingTop + paddingBottom + ranked.length * rowHeight;
|
|
228
228
|
const trackX = labelWidth;
|
|
229
229
|
const trackWidth = width - labelWidth - valueWidth - 16;
|
|
230
|
-
const maxValue =
|
|
230
|
+
const maxValue = 100;
|
|
231
231
|
const bars = ranked
|
|
232
232
|
.map((person, index) => {
|
|
233
233
|
const pct = person.sevenDayPeakUsagePct ?? 0;
|