Dashboard

概览的总数、图表和排行列表放在同一个由细线分隔的面板上;总数就是标签页,决定图表显示什么。

查看源码

Requests per day, UTC

  • This period
  • Prior 30 days
Requests per day
时间This periodPrior 30 days
10月9日周五1,8401,522
10月10日周六1,9101,620
10月11日周日2,1201,837
10月12日周一1,6101,436
10月13日周二1,7301,456
10月14日周三1,9801,708
10月15日周四1,8201,607
10月16日周五1,8601,559
10月17日周六1,8801,613
10月18日周日1,9301,693
10月19日周一1,8701,558
10月20日周二1,8501,578
10月21日周三1,9001,658
10月22日周四4,1703,527
10月23日周五1,9501,655
10月24日周六2,0901,812
10月25日周日2,0801,841
10月26日周一2,0601,741
10月27日周二2,0101,735
10月28日周三1,9901,754
10月29日周四1,9701,654
10月30日周五1,9601,683
10月31日周六2,2001,926
11月1日周日2,0501,714
11月2日周一1,8801,605
11月3日周二1,9901,736
11月4日周三2,0101,671
11月5日周四2,0601,751
11月6日周五2,0301,762
11月7日周六1,4601,309

Cache hit

48%↑0.5% 向好62.6M input tokens from cache
November so far$13.39
Forecast$60.45

Models by requests

import { Dashboard, DashboardCell, CellInset, MetricTabs, Readout, RankList, Legend } from "@logicplanes/kaeso-ui";

属性

  • aria-label
    string

    面板的无障碍名称,例如“期间内的用量”。

  • busy
    boolean

    在加载下一组数字时,将当前数字以减淡的方式保留在屏幕上。

  • children
    ReactNode

    MetricTabs 和若干 DashboardCell。

  • columns
    4 | 2 | 3 | 5 | 6 | 12 = 12

    从 1024px 起的列数。设为与 MetricTabs 的标签数相同,并让每个单元格跨越完整的标签,使下方每条细线都延续某个标签的边缘;自由布局用 12。

  • headingLevel
    2 | 3 = 3

    单元格标题的级别:位于某个区块标题下方时为 3(默认),上方只有页面标题时为 2。

  • wideColumns
    4 | 2 | 3 | 6 | 12

    从 1280px 起的列数,用于单元格需要比 columns 在 1024px 时更多空间的界面:1024px 时两列、1280px 时四列,可让每个单元格都足够宽以便阅读。