Skip to content

Commit 00c31da

Browse files
committed
update catalog and screenshots
1 parent bbbb5f8 commit 00c31da

62 files changed

Lines changed: 303 additions & 11 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/src/examples/catalog/Axis.json

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,18 @@
6767
}
6868
]
6969
},
70+
{
71+
"name": "barchart-tickspacing",
72+
"title": "barchart tickspacing",
73+
"path": "/docs/components/Axis/barchart-tickspacing",
74+
"components": [
75+
{
76+
"component": "BarChart",
77+
"lineNumber": 26,
78+
"line": "<BarChart"
79+
}
80+
]
81+
},
7082
{
7183
"name": "barchart-xinterval-xinset",
7284
"title": "barchart xinterval xinset",
@@ -3693,6 +3705,13 @@
36933705
"lineNumber": 13,
36943706
"line": "<Axis placement=\"left\" rule />"
36953707
},
3708+
{
3709+
"example": "bump-labels",
3710+
"component": "LineChart",
3711+
"path": "/docs/components/LineChart/bump-labels",
3712+
"lineNumber": 43,
3713+
"line": "<Axis placement=\"bottom\" rule />"
3714+
},
36963715
{
36973716
"example": "custom",
36983717
"component": "LineChart",
@@ -5017,5 +5036,5 @@
50175036
"line": "<Axis placement=\"bottom\" rule />"
50185037
}
50195038
],
5020-
"updatedAt": "2026-04-01T13:16:16.581Z"
5039+
"updatedAt": "2026-04-01T23:39:53.097Z"
50215040
}

docs/src/examples/catalog/BarChart.json

Lines changed: 65 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,18 @@
6666
}
6767
]
6868
},
69+
{
70+
"name": "brush-band",
71+
"title": "brush band",
72+
"path": "/docs/components/BarChart/brush-band",
73+
"components": [
74+
{
75+
"component": "BarChart",
76+
"lineNumber": 9,
77+
"line": "<BarChart {data} x=\"state\" y=\"value\" brush height={300} />"
78+
}
79+
]
80+
},
6981
{
7082
"name": "brush-pan-zoom",
7183
"title": "brush pan zoom",
@@ -78,6 +90,18 @@
7890
}
7991
]
8092
},
93+
{
94+
"name": "brush-pan-zoom-band",
95+
"title": "brush pan zoom band",
96+
"path": "/docs/components/BarChart/brush-pan-zoom-band",
97+
"components": [
98+
{
99+
"component": "BarChart",
100+
"lineNumber": 9,
101+
"line": "<BarChart"
102+
}
103+
]
104+
},
81105
{
82106
"name": "color-bars-class",
83107
"title": "color bars class",
@@ -851,6 +875,18 @@
851875
}
852876
]
853877
},
878+
{
879+
"name": "pan-zoom-band",
880+
"title": "pan zoom band",
881+
"path": "/docs/components/BarChart/pan-zoom-band",
882+
"components": [
883+
{
884+
"component": "BarChart",
885+
"lineNumber": 9,
886+
"line": "<BarChart"
887+
}
888+
]
889+
},
854890
{
855891
"name": "pan-zoom-domain-extent",
856892
"title": "pan zoom domain extent",
@@ -1495,6 +1531,13 @@
14951531
"lineNumber": 18,
14961532
"line": "<BarChart data={dateSeriesData} x=\"date\" y=\"value\" height={300}>"
14971533
},
1534+
{
1535+
"example": "barchart-tickspacing",
1536+
"component": "Axis",
1537+
"path": "/docs/components/Axis/barchart-tickspacing",
1538+
"lineNumber": 26,
1539+
"line": "<BarChart"
1540+
},
14981541
{
14991542
"example": "barchart-xinterval-xinset",
15001543
"component": "Axis",
@@ -1537,13 +1580,27 @@
15371580
"lineNumber": 16,
15381581
"line": "<BarChart {data} x=\"date\" y=\"value\" xInterval={timeDay} brush height={300} />"
15391582
},
1583+
{
1584+
"example": "brush-band",
1585+
"component": "BarChart",
1586+
"path": "/docs/components/BarChart/brush-band",
1587+
"lineNumber": 9,
1588+
"line": "<BarChart {data} x=\"state\" y=\"value\" brush height={300} />"
1589+
},
15401590
{
15411591
"example": "brush-pan-zoom",
15421592
"component": "BarChart",
15431593
"path": "/docs/components/BarChart/brush-pan-zoom",
15441594
"lineNumber": 16,
15451595
"line": "<BarChart"
15461596
},
1597+
{
1598+
"example": "brush-pan-zoom-band",
1599+
"component": "BarChart",
1600+
"path": "/docs/components/BarChart/brush-pan-zoom-band",
1601+
"lineNumber": 9,
1602+
"line": "<BarChart"
1603+
},
15471604
{
15481605
"example": "color-bars-class",
15491606
"component": "BarChart",
@@ -1803,6 +1860,13 @@
18031860
"lineNumber": 16,
18041861
"line": "<BarChart"
18051862
},
1863+
{
1864+
"example": "pan-zoom-band",
1865+
"component": "BarChart",
1866+
"path": "/docs/components/BarChart/pan-zoom-band",
1867+
"lineNumber": 9,
1868+
"line": "<BarChart"
1869+
},
18061870
{
18071871
"example": "pan-zoom-domain-extent",
18081872
"component": "BarChart",
@@ -2168,5 +2232,5 @@
21682232
"line": "<BarChart"
21692233
}
21702234
],
2171-
"updatedAt": "2026-04-01T13:16:16.772Z"
2235+
"updatedAt": "2026-04-01T23:39:53.231Z"
21722236
}

docs/src/examples/catalog/Highlight.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,13 @@
366366
"lineNumber": 53,
367367
"line": "<Highlight lines />"
368368
},
369+
{
370+
"example": "bump-highlight",
371+
"component": "LineChart",
372+
"path": "/docs/components/LineChart/bump-highlight",
373+
"lineNumber": 49,
374+
"line": "<Highlight lines points />"
375+
},
369376
{
370377
"example": "custom",
371378
"component": "LineChart",
@@ -654,5 +661,5 @@
654661
"line": "<Highlight lines axis=\"x\" />"
655662
}
656663
],
657-
"updatedAt": "2026-03-31T12:29:59.970Z"
664+
"updatedAt": "2026-04-01T23:39:54.865Z"
658665
}

docs/src/examples/catalog/LineChart.json

Lines changed: 107 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,72 @@
4949
}
5050
]
5151
},
52+
{
53+
"name": "bump-basic",
54+
"title": "bump basic",
55+
"path": "/docs/components/LineChart/bump-basic",
56+
"components": [
57+
{
58+
"component": "LineChart",
59+
"lineNumber": 16,
60+
"line": "<LineChart"
61+
}
62+
]
63+
},
64+
{
65+
"name": "bump-highlight",
66+
"title": "bump highlight",
67+
"path": "/docs/components/LineChart/bump-highlight",
68+
"components": [
69+
{
70+
"component": "LineChart",
71+
"lineNumber": 17,
72+
"line": "<LineChart"
73+
},
74+
{
75+
"component": "Spline",
76+
"lineNumber": 39,
77+
"line": "<Spline"
78+
},
79+
{
80+
"component": "Highlight",
81+
"lineNumber": 49,
82+
"line": "<Highlight lines points />"
83+
},
84+
{
85+
"component": "Tooltip",
86+
"lineNumber": 53,
87+
"line": "<Tooltip.Root>"
88+
}
89+
]
90+
},
91+
{
92+
"name": "bump-labels",
93+
"title": "bump labels",
94+
"path": "/docs/components/LineChart/bump-labels",
95+
"components": [
96+
{
97+
"component": "LineChart",
98+
"lineNumber": 31,
99+
"line": "<LineChart"
100+
},
101+
{
102+
"component": "Axis",
103+
"lineNumber": 43,
104+
"line": "<Axis placement=\"bottom\" rule />"
105+
},
106+
{
107+
"component": "Spline",
108+
"lineNumber": 46,
109+
"line": "<Spline y={s.key} stroke={s.color} curve={curveBumpX} class=\"stroke-2\" />"
110+
},
111+
{
112+
"component": "Text",
113+
"lineNumber": 52,
114+
"line": "<Text"
115+
}
116+
]
117+
},
52118
{
53119
"name": "curve",
54120
"title": "curve",
@@ -791,6 +857,18 @@
791857
}
792858
]
793859
},
860+
{
861+
"name": "smart-labels-with-points",
862+
"title": "smart labels with points",
863+
"path": "/docs/components/LineChart/smart-labels-with-points",
864+
"components": [
865+
{
866+
"component": "LineChart",
867+
"lineNumber": 9,
868+
"line": "<LineChart"
869+
}
870+
]
871+
},
794872
{
795873
"name": "sparkline",
796874
"title": "sparkline",
@@ -1108,6 +1186,27 @@
11081186
"lineNumber": 9,
11091187
"line": "<LineChart"
11101188
},
1189+
{
1190+
"example": "bump-basic",
1191+
"component": "LineChart",
1192+
"path": "/docs/components/LineChart/bump-basic",
1193+
"lineNumber": 16,
1194+
"line": "<LineChart"
1195+
},
1196+
{
1197+
"example": "bump-highlight",
1198+
"component": "LineChart",
1199+
"path": "/docs/components/LineChart/bump-highlight",
1200+
"lineNumber": 17,
1201+
"line": "<LineChart"
1202+
},
1203+
{
1204+
"example": "bump-labels",
1205+
"component": "LineChart",
1206+
"path": "/docs/components/LineChart/bump-labels",
1207+
"lineNumber": 31,
1208+
"line": "<LineChart"
1209+
},
11111210
{
11121211
"example": "curve",
11131212
"component": "LineChart",
@@ -1500,6 +1599,13 @@
15001599
"lineNumber": 9,
15011600
"line": "<LineChart"
15021601
},
1602+
{
1603+
"example": "smart-labels-with-points",
1604+
"component": "LineChart",
1605+
"path": "/docs/components/LineChart/smart-labels-with-points",
1606+
"lineNumber": 9,
1607+
"line": "<LineChart"
1608+
},
15031609
{
15041610
"example": "sparkline",
15051611
"component": "LineChart",
@@ -1557,5 +1663,5 @@
15571663
"line": "<LineChart {data} x=\"value\" y=\"date\" orientation=\"vertical\" width={400} height={600} />"
15581664
}
15591665
],
1560-
"updatedAt": "2026-03-29T03:36:28.433Z"
1666+
"updatedAt": "2026-04-01T23:39:55.082Z"
15611667
}

docs/src/examples/catalog/Spline.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -947,6 +947,20 @@
947947
"lineNumber": 52,
948948
"line": "<Spline"
949949
},
950+
{
951+
"example": "bump-highlight",
952+
"component": "LineChart",
953+
"path": "/docs/components/LineChart/bump-highlight",
954+
"lineNumber": 39,
955+
"line": "<Spline"
956+
},
957+
{
958+
"example": "bump-labels",
959+
"component": "LineChart",
960+
"path": "/docs/components/LineChart/bump-labels",
961+
"lineNumber": 46,
962+
"line": "<Spline y={s.key} stroke={s.color} curve={curveBumpX} class=\"stroke-2\" />"
963+
},
950964
{
951965
"example": "custom",
952966
"component": "LineChart",
@@ -1305,5 +1319,5 @@
13051319
"line": "<Spline curve={config.curve} motion=\"tween\" />"
13061320
}
13071321
],
1308-
"updatedAt": "2026-04-01T13:16:19.667Z"
1322+
"updatedAt": "2026-04-01T23:39:55.879Z"
13091323
}

docs/src/examples/catalog/Text.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,6 +653,20 @@
653653
"lineNumber": 48,
654654
"line": "<Text"
655655
},
656+
{
657+
"example": "bump-labels",
658+
"component": "LineChart",
659+
"path": "/docs/components/LineChart/bump-labels",
660+
"lineNumber": 52,
661+
"line": "<Text"
662+
},
663+
{
664+
"example": "bump-labels",
665+
"component": "LineChart",
666+
"path": "/docs/components/LineChart/bump-labels",
667+
"lineNumber": 62,
668+
"line": "<Text"
669+
},
656670
{
657671
"example": "basic",
658672
"component": "Pack",
@@ -1011,5 +1025,5 @@
10111025
"line": "<Text x={570} y={16} textAnchor=\"middle\" class=\"text-xs fill-surface-content/50\""
10121026
}
10131027
],
1014-
"updatedAt": "2026-04-01T13:16:19.740Z"
1028+
"updatedAt": "2026-04-01T23:39:55.958Z"
10151029
}

0 commit comments

Comments
 (0)