{"version":"v1.0","client_state":{"Studio.default":{"fields":{"primary":"#8a4a1f","secondary":"#3a52b0","success":"#2f9e64","warning":"#f0a91b","error":"#e5484d","info":"#0e9bc4","background":"#fafafa","surface":"#ffffff","interface":"#f0f0f1","text":"#171717","muted":"#6b6b6e","d_primary":"#9e5e34","d_secondary":"#566dc7","d_success":"#2f9e64","d_warning":"#f0a91b","d_error":"#e5484d","d_info":"#0e9bc4","d_background":"#0a0a0a","d_surface":"#151515","d_interface":"#212121","d_text":"#f5f5f5","d_muted":"#a0a0a3","spacing":0.25,"space_box":0.25,"space_gap":0.25,"box":0.625,"field_":0.5,"selector":0.25,"stroke":1.0,"font":"ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'"},"persist":"local","send_to_server":true},"ColorScheme.default":{"fields":{"mode":"system"},"persist":"local","send_to_server":true}},"endpoints":{"action":"/_bretzel/action","sse":"/_bretzel/sse","refetch":"/_bretzel/refetch"},"csrf":"4b07d6b8076a06039bdf96131446801d","page_id":"ff00a4e29c2843929072853aa59cc68f","address":""}
ui.line_chart

Line chart

Trends over time with dates on the axis, several series, targets and thresholds — and a hover crosshair on every point.

A revenue card

Pass dates as x values: the axis formats itself for the span it covers.
Monthly recurring revenue

$99.7k

+62.9% in 12 months
$50k$60k$70k$80k$90k$100k$110kOct 09Feb 02May 28
xValue
Sep 01$61k
Oct 01$64k
Nov 01$66k
Dec 01$70k
Jan 01$73k
Feb 01$75k
Mar 01$80k
Apr 01$83k
May 01$87k
Jun 01$92k
Jul 01$95k
Aug 01$100k

Several series

One Series per line, sharing the same x values. The legend and the colours follow the order you give.
Weekly sign-ups by channel

937

0100200300400500Jun 01Jun 15Jun 29Jul 13Jul 27
xOrganicPaidReferral
Jun 0132021088
Jun 0834123692
Jun 15338228101
Jun 2236225197
Jun 29390244112
Jul 06402270126
Jul 13398302131
Jul 20431288140
Jul 27455296138
Aug 03470315152

Against a threshold

Straight segments and dots for discrete measures, and a reference line for the objective.
API latency · p95

219 ms

2 breaches this month
150 ms200 ms250 ms300 ms350 msSLO (300 ms)Sep 07Sep 14
xValue
Sep 01212 ms
Sep 02198 ms
Sep 03225 ms
Sep 04240 ms
Sep 05231 ms
Sep 06318 ms
Sep 07342 ms
Sep 08267 ms
Sep 09229 ms
Sep 10214 ms
Sep 11205 ms
Sep 12221 ms
Sep 13236 ms
Sep 14219 ms

This year against last year

Pin the comparison series to muted so the current one carries the colour.
Monthly active users, in thousands
3 k4 k5 k6 k7 k8 kFeb 02May 28
xThis yearLast year
Jan 014.1 k3.2 k
Feb 014.4 k3.3 k
Mar 014.9 k3.6 k
Apr 015.2 k3.5 k
May 015.8 k3.9 k
Jun 016.1 k4 k
Jul 016 k3.8 k
Aug 016.7 k4.2 k
Sep 017.2 k4.4 k

A point that runs Python

on_item_click receives the point's x and y — a date as its ISO text. One series: a column of several would not say which point.
Issues closed per week · click a point
Issues closed
0102030Jul 06Jul 20Aug 03Aug 17
xIssues closed
Jul 0612
Jul 139
Jul 2015
Jul 277
Aug 0318
Aug 1011
Aug 1714
Aug 2420
Click a week to open its changelog.

A range that reloads the chart

The toggle writes the period to a server state; only the chart that reads it is rendered again.
Daily visits
1.6k1.8k2k2.2k2.4kAug 31Sep 07Sep 14Sep 21Sep 28
xValue
Aug 301.8k
Aug 312.1k
Sep 012.2k
Sep 022.2k
Sep 032.2k
Sep 042.3k
Sep 052k
Sep 062k
Sep 072.3k
Sep 082.3k
Sep 092.3k
Sep 102.3k
Sep 112.3k
Sep 121.9k
Sep 131.9k
Sep 142.2k
Sep 152.2k
Sep 162.1k
Sep 172.1k
Sep 182.1k
Sep 191.7k
Sep 201.7k
Sep 212k
Sep 222k
Sep 232k
Sep 242k
Sep 252.1k
Sep 261.8k
Sep 271.8k
Sep 282.1k