@fusion.dev/helix 0.194.0 → 0.195.0
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/api.json +1 -1
- package/custom-elements.json +210 -54
- package/dist/spatial-heatmap/root/spatial-heatmap-root.css.js +1 -1
- package/dist/spatial-heatmap/root/spatial-heatmap-root.d.ts +2 -1
- package/dist/spatial-scatter-chart/root/spatial-scatter-chart-root.css.js +1 -1
- package/dist/spatial-scatter-chart/root/spatial-scatter-chart-root.d.ts +3 -3
- package/dist/spatial-surface-chart/root/spatial-surface-chart-root.css.js +1 -1
- package/dist/spatial-surface-chart/root/spatial-surface-chart-root.d.ts +2 -2
- package/examples.json +1 -1
- package/lint.json +1 -1
- package/package.json +6 -6
- package/skills/helix/SKILL.md +2 -2
- package/types/jsx.d.ts +24 -34
- package/types/vue.d.ts +7 -13
package/custom-elements.json
CHANGED
|
@@ -190912,7 +190912,7 @@
|
|
|
190912
190912
|
"declarations": [
|
|
190913
190913
|
{
|
|
190914
190914
|
"kind": "class",
|
|
190915
|
-
"description": "Each reading is a prism. The top face takes the cell's tone, and the two\nsides are the same tone, shaded darker, so the whole relief follows your\ntheme's colors.\n\n`tones=\"1 2 3 4 5\"` uses the same five-step ramp as `Heatmap`, so the tone\nand the height both show the value. Set `--spatial-heatmap-cell-size` to\nchange how large a cell may grow.",
|
|
190915
|
+
"description": "Each reading is a prism. The top face takes the cell's tone, and the two\nsides are the same tone, shaded darker, so the whole relief follows your\ntheme's colors. The chart draws the relief in SVG, and\n`@fusion.dev/helix-plot` can draw it with three.js.\n\n`tones=\"1 2 3 4 5\"` uses the same five-step ramp as `Heatmap`, so the tone\nand the height both show the value. Set `--spatial-heatmap-cell-size` to\nchange how large a cell may grow.",
|
|
190916
190916
|
"name": "HelixSpatialHeatmap",
|
|
190917
190917
|
"cssProperties": [
|
|
190918
190918
|
{
|
|
@@ -190932,24 +190932,16 @@
|
|
|
190932
190932
|
"name": "--spatial-heatmap-selected-color"
|
|
190933
190933
|
},
|
|
190934
190934
|
{
|
|
190935
|
-
"description": "
|
|
190936
|
-
"name": "--spatial-heatmap-
|
|
190935
|
+
"description": "Where the `start` or the `end` label stands clear of the drawing, from the footer's inline start, in pixels. The component measures it and writes it on the label, with `data-placed`, as the view turns.",
|
|
190936
|
+
"name": "--spatial-heatmap-label-x",
|
|
190937
190937
|
"inheritedFrom": {
|
|
190938
190938
|
"name": "HelixHeadlessSpatialHeatmap",
|
|
190939
190939
|
"module": "src/spatial-heatmap/root/spatial-heatmap-root.ts"
|
|
190940
190940
|
}
|
|
190941
190941
|
},
|
|
190942
190942
|
{
|
|
190943
|
-
"description": "Where the
|
|
190944
|
-
"name": "--spatial-heatmap-
|
|
190945
|
-
"inheritedFrom": {
|
|
190946
|
-
"name": "HelixHeadlessSpatialHeatmap",
|
|
190947
|
-
"module": "src/spatial-heatmap/root/spatial-heatmap-root.ts"
|
|
190948
|
-
}
|
|
190949
|
-
},
|
|
190950
|
-
{
|
|
190951
|
-
"description": "How far down the drawing the front edge ends, under the newest column, as a share of the drawing's width: its whole depth in the chart's own drawing, and wherever a renderer draws it. The component writes it on the footer, and a stylesheet that stands the `end` label there reads it.",
|
|
190952
|
-
"name": "--spatial-heatmap-end-y",
|
|
190943
|
+
"description": "Where the `start` or the `end` label stands clear of the drawing, from the footer's top, in pixels. The component measures it and writes it on the label, with `data-placed`, as the view turns.",
|
|
190944
|
+
"name": "--spatial-heatmap-label-y",
|
|
190953
190945
|
"inheritedFrom": {
|
|
190954
190946
|
"name": "HelixHeadlessSpatialHeatmap",
|
|
190955
190947
|
"module": "src/spatial-heatmap/root/spatial-heatmap-root.ts"
|
|
@@ -190963,22 +190955,6 @@
|
|
|
190963
190955
|
"module": "src/spatial-heatmap/root/spatial-heatmap-root.ts"
|
|
190964
190956
|
}
|
|
190965
190957
|
},
|
|
190966
|
-
{
|
|
190967
|
-
"description": "Where the front edge starts, under the first column, across the drawing, from 0 at its inline start to 1: 0 in the chart's own drawing, and wherever a renderer draws it. The component writes it on the footer, and a stylesheet that stands the `start` label there reads it.",
|
|
190968
|
-
"name": "--spatial-heatmap-start-x",
|
|
190969
|
-
"inheritedFrom": {
|
|
190970
|
-
"name": "HelixHeadlessSpatialHeatmap",
|
|
190971
|
-
"module": "src/spatial-heatmap/root/spatial-heatmap-root.ts"
|
|
190972
|
-
}
|
|
190973
|
-
},
|
|
190974
|
-
{
|
|
190975
|
-
"description": "How far down the drawing the front edge starts, under the first column, as a share of the drawing's width. The component writes it on the footer, and a stylesheet that stands the `start` label there reads it.",
|
|
190976
|
-
"name": "--spatial-heatmap-start-y",
|
|
190977
|
-
"inheritedFrom": {
|
|
190978
|
-
"name": "HelixHeadlessSpatialHeatmap",
|
|
190979
|
-
"module": "src/spatial-heatmap/root/spatial-heatmap-root.ts"
|
|
190980
|
-
}
|
|
190981
|
-
},
|
|
190982
190958
|
{
|
|
190983
190959
|
"description": "How many rows the strip lays out. The component writes it from the data, and the stylesheet that draws the strip reads it.",
|
|
190984
190960
|
"name": "--heatmap-rows",
|
|
@@ -191200,7 +191176,100 @@
|
|
|
191200
191176
|
},
|
|
191201
191177
|
"privacy": "private",
|
|
191202
191178
|
"default": "ISOMETRIC",
|
|
191203
|
-
"description": "Where the chart's own drawing is seen from, which Shift with an arrow turns.",
|
|
191179
|
+
"description": "Where the chart's own drawing is seen from, which a drag or Shift with an arrow turns.",
|
|
191180
|
+
"inheritedFrom": {
|
|
191181
|
+
"name": "HelixHeadlessSpatialHeatmap",
|
|
191182
|
+
"module": "src/spatial-heatmap/root/spatial-heatmap-root.ts"
|
|
191183
|
+
}
|
|
191184
|
+
},
|
|
191185
|
+
{
|
|
191186
|
+
"kind": "field",
|
|
191187
|
+
"name": "labelSizes",
|
|
191188
|
+
"type": {
|
|
191189
|
+
"text": "ResizeObserver | undefined"
|
|
191190
|
+
},
|
|
191191
|
+
"privacy": "private",
|
|
191192
|
+
"default": "undefined",
|
|
191193
|
+
"description": "What places the first and last labels again when one of them, or the footer, changes size.",
|
|
191194
|
+
"inheritedFrom": {
|
|
191195
|
+
"name": "HelixHeadlessSpatialHeatmap",
|
|
191196
|
+
"module": "src/spatial-heatmap/root/spatial-heatmap-root.ts"
|
|
191197
|
+
}
|
|
191198
|
+
},
|
|
191199
|
+
{
|
|
191200
|
+
"kind": "method",
|
|
191201
|
+
"name": "observeLabels",
|
|
191202
|
+
"privacy": "private",
|
|
191203
|
+
"return": {
|
|
191204
|
+
"type": {
|
|
191205
|
+
"text": "void"
|
|
191206
|
+
}
|
|
191207
|
+
},
|
|
191208
|
+
"description": "Places the labels again whenever one of them or the footer changes size,\nas a webfont arriving after the first measure changes a label's width,\nand with it how far down the front edge reaches over it. Once the footer\nis rendered, and guarded because Lit SSR provides no `ResizeObserver`.",
|
|
191209
|
+
"inheritedFrom": {
|
|
191210
|
+
"name": "HelixHeadlessSpatialHeatmap",
|
|
191211
|
+
"module": "src/spatial-heatmap/root/spatial-heatmap-root.ts"
|
|
191212
|
+
}
|
|
191213
|
+
},
|
|
191214
|
+
{
|
|
191215
|
+
"kind": "field",
|
|
191216
|
+
"name": "drag",
|
|
191217
|
+
"privacy": "private",
|
|
191218
|
+
"readonly": true,
|
|
191219
|
+
"default": "new DragTurn( (next) => { this.camera = next(this.camera) }, () => this.requestUpdate(), )",
|
|
191220
|
+
"description": "A drag across the chart's own drawing, which turns its view.",
|
|
191221
|
+
"inheritedFrom": {
|
|
191222
|
+
"name": "HelixHeadlessSpatialHeatmap",
|
|
191223
|
+
"module": "src/spatial-heatmap/root/spatial-heatmap-root.ts"
|
|
191224
|
+
}
|
|
191225
|
+
},
|
|
191226
|
+
{
|
|
191227
|
+
"kind": "field",
|
|
191228
|
+
"name": "onDrawingDown",
|
|
191229
|
+
"privacy": "private",
|
|
191230
|
+
"readonly": true,
|
|
191231
|
+
"inheritedFrom": {
|
|
191232
|
+
"name": "HelixHeadlessSpatialHeatmap",
|
|
191233
|
+
"module": "src/spatial-heatmap/root/spatial-heatmap-root.ts"
|
|
191234
|
+
}
|
|
191235
|
+
},
|
|
191236
|
+
{
|
|
191237
|
+
"kind": "field",
|
|
191238
|
+
"name": "onDrawingMove",
|
|
191239
|
+
"privacy": "private",
|
|
191240
|
+
"readonly": true,
|
|
191241
|
+
"inheritedFrom": {
|
|
191242
|
+
"name": "HelixHeadlessSpatialHeatmap",
|
|
191243
|
+
"module": "src/spatial-heatmap/root/spatial-heatmap-root.ts"
|
|
191244
|
+
}
|
|
191245
|
+
},
|
|
191246
|
+
{
|
|
191247
|
+
"kind": "field",
|
|
191248
|
+
"name": "onDrawingUp",
|
|
191249
|
+
"privacy": "private",
|
|
191250
|
+
"readonly": true,
|
|
191251
|
+
"inheritedFrom": {
|
|
191252
|
+
"name": "HelixHeadlessSpatialHeatmap",
|
|
191253
|
+
"module": "src/spatial-heatmap/root/spatial-heatmap-root.ts"
|
|
191254
|
+
}
|
|
191255
|
+
},
|
|
191256
|
+
{
|
|
191257
|
+
"kind": "field",
|
|
191258
|
+
"name": "onStripUp",
|
|
191259
|
+
"privacy": "private",
|
|
191260
|
+
"readonly": true,
|
|
191261
|
+
"description": "A tap shows the prism under it, unless the touch was a drag, which turned the view.",
|
|
191262
|
+
"inheritedFrom": {
|
|
191263
|
+
"name": "HelixHeadlessSpatialHeatmap",
|
|
191264
|
+
"module": "src/spatial-heatmap/root/spatial-heatmap-root.ts"
|
|
191265
|
+
}
|
|
191266
|
+
},
|
|
191267
|
+
{
|
|
191268
|
+
"kind": "field",
|
|
191269
|
+
"name": "onPrismOver",
|
|
191270
|
+
"privacy": "private",
|
|
191271
|
+
"readonly": true,
|
|
191272
|
+
"description": "A pointer passing over a prism shows it, unless it is turning the view.",
|
|
191204
191273
|
"inheritedFrom": {
|
|
191205
191274
|
"name": "HelixHeadlessSpatialHeatmap",
|
|
191206
191275
|
"module": "src/spatial-heatmap/root/spatial-heatmap-root.ts"
|
|
@@ -191237,7 +191306,7 @@
|
|
|
191237
191306
|
"kind": "field",
|
|
191238
191307
|
"name": "corners",
|
|
191239
191308
|
"type": {
|
|
191240
|
-
"text": "
|
|
191309
|
+
"text": "DrawnCorners | undefined"
|
|
191241
191310
|
},
|
|
191242
191311
|
"privacy": "private",
|
|
191243
191312
|
"description": "Where the renderer draws the two ends of the front edge, which the first and last labels stand at.",
|
|
@@ -191378,13 +191447,13 @@
|
|
|
191378
191447
|
{
|
|
191379
191448
|
"name": "at",
|
|
191380
191449
|
"type": {
|
|
191381
|
-
"text": "
|
|
191450
|
+
"text": "DrawnCorners | undefined"
|
|
191382
191451
|
}
|
|
191383
191452
|
}
|
|
191384
191453
|
],
|
|
191385
191454
|
"description": "Says where the renderer draws the two ends of the front edge, under the\nfirst column and the last, as fractions of the strip from its top left,\nor `undefined` while they are out of view, where the labels keep the\nlast place they had. The `start` and `end` labels stand there. Called by\nthe connector.",
|
|
191386
191455
|
"type": {
|
|
191387
|
-
"text": "placeCorners(at:
|
|
191456
|
+
"text": "placeCorners(at: DrawnCorners | undefined) => void"
|
|
191388
191457
|
},
|
|
191389
191458
|
"inheritedFrom": {
|
|
191390
191459
|
"name": "HelixHeadlessSpatialHeatmap",
|
|
@@ -191503,22 +191572,14 @@
|
|
|
191503
191572
|
},
|
|
191504
191573
|
{
|
|
191505
191574
|
"kind": "method",
|
|
191506
|
-
"name": "
|
|
191575
|
+
"name": "placeLabels",
|
|
191507
191576
|
"privacy": "private",
|
|
191508
191577
|
"return": {
|
|
191509
191578
|
"type": {
|
|
191510
|
-
"text": "
|
|
191579
|
+
"text": "void"
|
|
191511
191580
|
}
|
|
191512
191581
|
},
|
|
191513
|
-
"
|
|
191514
|
-
{
|
|
191515
|
-
"name": "relief",
|
|
191516
|
-
"type": {
|
|
191517
|
-
"text": "Relief"
|
|
191518
|
-
}
|
|
191519
|
-
}
|
|
191520
|
-
],
|
|
191521
|
-
"description": "Where the front edge's two ends stand, for the labels that name them.\n**As shares of the drawing's width**, the one length a percentage margin\nis measured against, so a sheet places a label with no height to read.",
|
|
191582
|
+
"description": "Stands the first and last labels under their ends of the front edge,\nclear of the drawing, as the page lays them out: on each label,\n`--spatial-heatmap-label-x` from the footer's inline start and\n`--spatial-heatmap-label-y` from its top, and `data-placed` once it has\na place. **Measured**, because a label is the page's type and the\ndrawing scales with its box, so neither size is known before layout.",
|
|
191522
191583
|
"inheritedFrom": {
|
|
191523
191584
|
"name": "HelixHeadlessSpatialHeatmap",
|
|
191524
191585
|
"module": "src/spatial-heatmap/root/spatial-heatmap-root.ts"
|
|
@@ -192991,6 +193052,10 @@
|
|
|
192991
193052
|
{
|
|
192992
193053
|
"description": "The same sixteen weeks drawn in 3D by three.js. Drag to turn the relief, or press Shift with an arrow.",
|
|
192993
193054
|
"slug": "three"
|
|
193055
|
+
},
|
|
193056
|
+
{
|
|
193057
|
+
"description": "A full year of commits, fifty-two weeks in seven rows, each day a prism as tall as its count.",
|
|
193058
|
+
"slug": "year"
|
|
192994
193059
|
}
|
|
192995
193060
|
],
|
|
192996
193061
|
"source": "helix/styled/src/spatial-heatmap"
|
|
@@ -193869,7 +193934,7 @@
|
|
|
193869
193934
|
"declarations": [
|
|
193870
193935
|
{
|
|
193871
193936
|
"kind": "class",
|
|
193872
|
-
"description": "The
|
|
193937
|
+
"description": "The chart draws the points in 3D in SVG, and `@fusion.dev/helix-plot` can\ndraw them with three.js. Each group takes a series color from the theme, as\nevery chart's series does, in both drawings.",
|
|
193873
193938
|
"name": "HelixSpatialScatterChart",
|
|
193874
193939
|
"cssProperties": [
|
|
193875
193940
|
{
|
|
@@ -194306,7 +194371,19 @@
|
|
|
194306
194371
|
},
|
|
194307
194372
|
"privacy": "private",
|
|
194308
194373
|
"default": "SPATIAL_VIEW",
|
|
194309
|
-
"description": "Where the chart's own drawing is seen from, which Shift with an arrow turns.",
|
|
194374
|
+
"description": "Where the chart's own drawing is seen from, which a drag or Shift with an arrow turns.",
|
|
194375
|
+
"inheritedFrom": {
|
|
194376
|
+
"name": "HelixHeadlessSpatialScatterChart",
|
|
194377
|
+
"module": "src/spatial-scatter-chart/root/spatial-scatter-chart-root.ts"
|
|
194378
|
+
}
|
|
194379
|
+
},
|
|
194380
|
+
{
|
|
194381
|
+
"kind": "field",
|
|
194382
|
+
"name": "drag",
|
|
194383
|
+
"privacy": "private",
|
|
194384
|
+
"readonly": true,
|
|
194385
|
+
"default": "new DragTurn( (next) => { this.camera = next(this.camera) }, () => this.requestUpdate(), )",
|
|
194386
|
+
"description": "A drag across the chart's own drawing, which turns its view.",
|
|
194310
194387
|
"inheritedFrom": {
|
|
194311
194388
|
"name": "HelixHeadlessSpatialScatterChart",
|
|
194312
194389
|
"module": "src/spatial-scatter-chart/root/spatial-scatter-chart-root.ts"
|
|
@@ -194392,6 +194469,19 @@
|
|
|
194392
194469
|
"module": "src/spatial-scatter-chart/root/spatial-scatter-chart-root.ts"
|
|
194393
194470
|
}
|
|
194394
194471
|
},
|
|
194472
|
+
{
|
|
194473
|
+
"kind": "field",
|
|
194474
|
+
"name": "memo",
|
|
194475
|
+
"type": {
|
|
194476
|
+
"text": "{ field: PlotField; groupBy: string; rows: unknown } | undefined"
|
|
194477
|
+
},
|
|
194478
|
+
"privacy": "private",
|
|
194479
|
+
"description": "The field last read, and what it was read from.",
|
|
194480
|
+
"inheritedFrom": {
|
|
194481
|
+
"name": "HelixHeadlessSpatialScatterChart",
|
|
194482
|
+
"module": "src/spatial-scatter-chart/root/spatial-scatter-chart-root.ts"
|
|
194483
|
+
}
|
|
194484
|
+
},
|
|
194395
194485
|
{
|
|
194396
194486
|
"kind": "field",
|
|
194397
194487
|
"name": "active",
|
|
@@ -194507,6 +194597,27 @@
|
|
|
194507
194597
|
"module": "src/spatial-scatter-chart/root/spatial-scatter-chart-root.ts"
|
|
194508
194598
|
}
|
|
194509
194599
|
},
|
|
194600
|
+
{
|
|
194601
|
+
"kind": "field",
|
|
194602
|
+
"name": "onDrawingDown",
|
|
194603
|
+
"privacy": "private",
|
|
194604
|
+
"readonly": true,
|
|
194605
|
+
"inheritedFrom": {
|
|
194606
|
+
"name": "HelixHeadlessSpatialScatterChart",
|
|
194607
|
+
"module": "src/spatial-scatter-chart/root/spatial-scatter-chart-root.ts"
|
|
194608
|
+
}
|
|
194609
|
+
},
|
|
194610
|
+
{
|
|
194611
|
+
"kind": "field",
|
|
194612
|
+
"name": "onDrawingCancel",
|
|
194613
|
+
"privacy": "private",
|
|
194614
|
+
"readonly": true,
|
|
194615
|
+
"description": "A press the browser took back, such as for a scroll, which ends a drag as a release does.",
|
|
194616
|
+
"inheritedFrom": {
|
|
194617
|
+
"name": "HelixHeadlessSpatialScatterChart",
|
|
194618
|
+
"module": "src/spatial-scatter-chart/root/spatial-scatter-chart-root.ts"
|
|
194619
|
+
}
|
|
194620
|
+
},
|
|
194510
194621
|
{
|
|
194511
194622
|
"kind": "field",
|
|
194512
194623
|
"name": "onDrawingLeave",
|
|
@@ -194522,7 +194633,7 @@
|
|
|
194522
194633
|
"name": "onDrawingTap",
|
|
194523
194634
|
"privacy": "private",
|
|
194524
194635
|
"readonly": true,
|
|
194525
|
-
"description": "A tap is a touch reader's hover: it shows the point nearest it until a tap lands elsewhere.",
|
|
194636
|
+
"description": "A tap is a touch reader's hover, unless it was a drag, which turned the\nview: it shows the point nearest it until a tap lands elsewhere.",
|
|
194526
194637
|
"inheritedFrom": {
|
|
194527
194638
|
"name": "HelixHeadlessSpatialScatterChart",
|
|
194528
194639
|
"module": "src/spatial-scatter-chart/root/spatial-scatter-chart-root.ts"
|
|
@@ -195587,7 +195698,7 @@
|
|
|
195587
195698
|
"declarations": [
|
|
195588
195699
|
{
|
|
195589
195700
|
"kind": "class",
|
|
195590
|
-
"description": "The
|
|
195701
|
+
"description": "The chart draws the surface in 3D in SVG, and `@fusion.dev/helix-plot` can\ndraw it with three.js. Every height is shaded along one\nramp from the theme's primary color, quiet where it is low and strong where\nit is high, so the two drawings agree.",
|
|
195591
195702
|
"name": "HelixSpatialSurfaceChart",
|
|
195592
195703
|
"cssProperties": [
|
|
195593
195704
|
{
|
|
@@ -196051,7 +196162,19 @@
|
|
|
196051
196162
|
},
|
|
196052
196163
|
"privacy": "private",
|
|
196053
196164
|
"default": "SPATIAL_VIEW",
|
|
196054
|
-
"description": "Where the chart's own drawing is seen from, which Shift with an arrow turns.",
|
|
196165
|
+
"description": "Where the chart's own drawing is seen from, which a drag or Shift with an arrow turns.",
|
|
196166
|
+
"inheritedFrom": {
|
|
196167
|
+
"name": "HelixHeadlessSpatialSurfaceChart",
|
|
196168
|
+
"module": "src/spatial-surface-chart/root/spatial-surface-chart-root.ts"
|
|
196169
|
+
}
|
|
196170
|
+
},
|
|
196171
|
+
{
|
|
196172
|
+
"kind": "field",
|
|
196173
|
+
"name": "drag",
|
|
196174
|
+
"privacy": "private",
|
|
196175
|
+
"readonly": true,
|
|
196176
|
+
"default": "new DragTurn( (next) => { this.camera = next(this.camera) }, () => this.requestUpdate(), )",
|
|
196177
|
+
"description": "A drag across the chart's own drawing, which turns its view.",
|
|
196055
196178
|
"inheritedFrom": {
|
|
196056
196179
|
"name": "HelixHeadlessSpatialSurfaceChart",
|
|
196057
196180
|
"module": "src/spatial-surface-chart/root/spatial-surface-chart-root.ts"
|
|
@@ -196088,11 +196211,10 @@
|
|
|
196088
196211
|
"kind": "field",
|
|
196089
196212
|
"name": "last",
|
|
196090
196213
|
"type": {
|
|
196091
|
-
"text": "
|
|
196214
|
+
"text": "SurfaceField | undefined"
|
|
196092
196215
|
},
|
|
196093
196216
|
"privacy": "private",
|
|
196094
|
-
"
|
|
196095
|
-
"description": "The field last read, kept so a change of it can be told.",
|
|
196217
|
+
"description": "The field last told, kept so a change of it can be told.",
|
|
196096
196218
|
"inheritedFrom": {
|
|
196097
196219
|
"name": "HelixHeadlessSpatialSurfaceChart",
|
|
196098
196220
|
"module": "src/spatial-surface-chart/root/spatial-surface-chart-root.ts"
|
|
@@ -196137,6 +196259,19 @@
|
|
|
196137
196259
|
"module": "src/spatial-surface-chart/root/spatial-surface-chart-root.ts"
|
|
196138
196260
|
}
|
|
196139
196261
|
},
|
|
196262
|
+
{
|
|
196263
|
+
"kind": "field",
|
|
196264
|
+
"name": "memo",
|
|
196265
|
+
"type": {
|
|
196266
|
+
"text": "{ field: SurfaceField; rows: unknown } | undefined"
|
|
196267
|
+
},
|
|
196268
|
+
"privacy": "private",
|
|
196269
|
+
"description": "The field last read, and the rows it was read from.",
|
|
196270
|
+
"inheritedFrom": {
|
|
196271
|
+
"name": "HelixHeadlessSpatialSurfaceChart",
|
|
196272
|
+
"module": "src/spatial-surface-chart/root/spatial-surface-chart-root.ts"
|
|
196273
|
+
}
|
|
196274
|
+
},
|
|
196140
196275
|
{
|
|
196141
196276
|
"kind": "field",
|
|
196142
196277
|
"name": "active",
|
|
@@ -196282,6 +196417,27 @@
|
|
|
196282
196417
|
"module": "src/spatial-surface-chart/root/spatial-surface-chart-root.ts"
|
|
196283
196418
|
}
|
|
196284
196419
|
},
|
|
196420
|
+
{
|
|
196421
|
+
"kind": "field",
|
|
196422
|
+
"name": "onDrawingDown",
|
|
196423
|
+
"privacy": "private",
|
|
196424
|
+
"readonly": true,
|
|
196425
|
+
"inheritedFrom": {
|
|
196426
|
+
"name": "HelixHeadlessSpatialSurfaceChart",
|
|
196427
|
+
"module": "src/spatial-surface-chart/root/spatial-surface-chart-root.ts"
|
|
196428
|
+
}
|
|
196429
|
+
},
|
|
196430
|
+
{
|
|
196431
|
+
"kind": "field",
|
|
196432
|
+
"name": "onDrawingCancel",
|
|
196433
|
+
"privacy": "private",
|
|
196434
|
+
"readonly": true,
|
|
196435
|
+
"description": "A press the browser took back, such as for a scroll, which ends a drag as a release does.",
|
|
196436
|
+
"inheritedFrom": {
|
|
196437
|
+
"name": "HelixHeadlessSpatialSurfaceChart",
|
|
196438
|
+
"module": "src/spatial-surface-chart/root/spatial-surface-chart-root.ts"
|
|
196439
|
+
}
|
|
196440
|
+
},
|
|
196285
196441
|
{
|
|
196286
196442
|
"kind": "field",
|
|
196287
196443
|
"name": "onDrawingLeave",
|
|
@@ -196297,7 +196453,7 @@
|
|
|
196297
196453
|
"name": "onDrawingTap",
|
|
196298
196454
|
"privacy": "private",
|
|
196299
196455
|
"readonly": true,
|
|
196300
|
-
"description": "A tap is a touch reader's hover: it shows the place nearest it until a tap lands elsewhere.",
|
|
196456
|
+
"description": "A tap is a touch reader's hover, unless it was a drag, which turned the\nview: it shows the place nearest it until a tap lands elsewhere.",
|
|
196301
196457
|
"inheritedFrom": {
|
|
196302
196458
|
"name": "HelixHeadlessSpatialSurfaceChart",
|
|
196303
196459
|
"module": "src/spatial-surface-chart/root/spatial-surface-chart-root.ts"
|
|
@@ -260656,6 +260812,6 @@
|
|
|
260656
260812
|
],
|
|
260657
260813
|
"helix": {
|
|
260658
260814
|
"package": "@fusion.dev/helix",
|
|
260659
|
-
"version": "0.
|
|
260815
|
+
"version": "0.195.0"
|
|
260660
260816
|
}
|
|
260661
260817
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { createSheet } from '@fusion.dev/helix-core';
|
|
2
|
-
export const styles = createSheet(`:host {--_spatial-heatmap-cell: var(--spatial-heatmap-cell-size, 1.25rem);--heatmap-tone-accent: var(--helix-color-accent);--heatmap-tone-danger: var(--helix-color-danger);--heatmap-tone-info: var(--helix-color-info);--heatmap-tone-muted: var(--helix-color-surface-sunken);--heatmap-tone-primary: var(--helix-color-primary);--heatmap-tone-success: var(--helix-color-success);--heatmap-tone-warning: var(--helix-color-warning);--heatmap-tone-1: color-mix(in oklab, var(--helix-color-primary-active) 20%, var(--helix-color-surface-sunken));--heatmap-tone-2: color-mix(in oklab, var(--helix-color-primary-active) 40%, var(--helix-color-surface-sunken));--heatmap-tone-3: color-mix(in oklab, var(--helix-color-primary-active) 60%, var(--helix-color-surface-sunken));--heatmap-tone-4: color-mix(in oklab, var(--helix-color-primary-active) 80%, var(--helix-color-surface-sunken));--heatmap-tone-5: var(--helix-color-primary-active);display: grid;grid-template-columns: minmax(0, max-content)}[part~="strip"] {inline-size: calc(var(--spatial-heatmap-span, 1) * 0.866 * var(--_spatial-heatmap-cell));max-inline-size: 100%;position: relative}::slotted([slot="renderer"]) {inset: 0;position: absolute}[part="drawing"] {block-size: auto;display: block;inline-size: 100%;overflow: visible}[part~="cell"], [part~="base"] {--_spatial-heatmap-left: oklch(from var(--_spatial-heatmap-top) calc(l - var(--spatial-heatmap-left-shade, 0.07)) c h);--_spatial-heatmap-right: oklch(from var(--_spatial-heatmap-top) calc(l - var(--spatial-heatmap-right-shade, 0.14)) c h)}[part~="cell"] {--_spatial-heatmap-top: var(--heatmap-tone, color-mix(in oklab, var(--helix-color-surface-sunken), var(--helix-color-surface) 60%))}[part~="base"] {--_spatial-heatmap-top: color-mix(in oklab, var(--helix-color-surface-sunken), var(--helix-color-border) 45%)}[part~="top-face"], [part~="base-top"] {--_spatial-heatmap-face: var(--_spatial-heatmap-top)}[part~="left-face"], [part~="base-left"] {--_spatial-heatmap-face: var(--_spatial-heatmap-left)}[part~="right-face"], [part~="base-right"] {--_spatial-heatmap-face: var(--_spatial-heatmap-right)}[part~="cell"] > *, [part~="base"] > * {--_spatial-heatmap-ink: oklch(from var(--_spatial-heatmap-face) clamp(0, (0.6 - l) * 1000, 1) 0 0);--_spatial-heatmap-edge: oklch(from var(--_spatial-heatmap-face) calc(l + clamp(-0.08, (0.6 - l) * 1000, 0.1)) c h);fill: var(--_spatial-heatmap-face);stroke: var(--_spatial-heatmap-edge);stroke-linejoin: round;stroke-width: var(--helix-border-thin);vector-effect: non-scaling-stroke}[part~="cell-selected"] > * {stroke: var(--spatial-heatmap-selected-color, var(--_spatial-heatmap-ink));stroke-dasharray: 3px 2px;stroke-width: var(--helix-border-thick)}@media (hover: hover) {[part~="cell"]:hover > * {stroke: var(--_spatial-heatmap-ink);stroke-dasharray: none;stroke-width: var(--helix-border-thick)}}[part~="cell-active"] > * {stroke: var(--_spatial-heatmap-ink);stroke-dasharray: none;stroke-width: var(--helix-border-thick)}[part~="strip"]:focus-visible {outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);outline-offset: var(--helix-size-focus-offset)}[part="live"], [part="overview"], [part="selection"], [part="table"] {block-size: 1px;clip-path: inset(50%);inline-size: 1px;margin: var(--helix-space-none);overflow: hidden;position: absolute;white-space: nowrap}[part="footer"] {color: var(--helix-color-foreground-subtle);display: grid;font-family: var(--helix-font-sans);font-size: var(--helix-text-xs);min-block-size: 1lh;padding-block-start: var(--helix-space-xs);position: relative}[part="start"] {inset-block-start: 0;
|
|
2
|
+
export const styles = createSheet(`:host {--_spatial-heatmap-cell: var(--spatial-heatmap-cell-size, 1.25rem);--heatmap-tone-accent: var(--helix-color-accent);--heatmap-tone-danger: var(--helix-color-danger);--heatmap-tone-info: var(--helix-color-info);--heatmap-tone-muted: var(--helix-color-surface-sunken);--heatmap-tone-primary: var(--helix-color-primary);--heatmap-tone-success: var(--helix-color-success);--heatmap-tone-warning: var(--helix-color-warning);--heatmap-tone-1: color-mix(in oklab, var(--helix-color-primary-active) 20%, var(--helix-color-surface-sunken));--heatmap-tone-2: color-mix(in oklab, var(--helix-color-primary-active) 40%, var(--helix-color-surface-sunken));--heatmap-tone-3: color-mix(in oklab, var(--helix-color-primary-active) 60%, var(--helix-color-surface-sunken));--heatmap-tone-4: color-mix(in oklab, var(--helix-color-primary-active) 80%, var(--helix-color-surface-sunken));--heatmap-tone-5: var(--helix-color-primary-active);display: grid;grid-template-columns: minmax(0, max-content)}[part~="strip"] {inline-size: calc(var(--spatial-heatmap-span, 1) * 0.866 * var(--_spatial-heatmap-cell));max-inline-size: 100%;position: relative}::slotted([slot="renderer"]) {inset: 0;position: absolute}[part="drawing"] {block-size: auto;display: block;inline-size: 100%;overflow: visible;touch-action: pan-y;user-select: none}[part~="cell"], [part~="base"] {--_spatial-heatmap-left: oklch(from var(--_spatial-heatmap-top) calc(l - var(--spatial-heatmap-left-shade, 0.07)) c h);--_spatial-heatmap-right: oklch(from var(--_spatial-heatmap-top) calc(l - var(--spatial-heatmap-right-shade, 0.14)) c h)}[part~="cell"] {--_spatial-heatmap-top: var(--heatmap-tone, color-mix(in oklab, var(--helix-color-surface-sunken), var(--helix-color-surface) 60%))}[part~="base"] {--_spatial-heatmap-top: color-mix(in oklab, var(--helix-color-surface-sunken), var(--helix-color-border) 45%)}[part~="top-face"], [part~="base-top"] {--_spatial-heatmap-face: var(--_spatial-heatmap-top)}[part~="left-face"], [part~="base-left"] {--_spatial-heatmap-face: var(--_spatial-heatmap-left)}[part~="right-face"], [part~="base-right"] {--_spatial-heatmap-face: var(--_spatial-heatmap-right)}[part~="cell"] > *, [part~="base"] > * {--_spatial-heatmap-ink: oklch(from var(--_spatial-heatmap-face) clamp(0, (0.6 - l) * 1000, 1) 0 0);--_spatial-heatmap-edge: oklch(from var(--_spatial-heatmap-face) calc(l + clamp(-0.08, (0.6 - l) * 1000, 0.1)) c h);fill: var(--_spatial-heatmap-face);stroke: var(--_spatial-heatmap-edge);stroke-linejoin: round;stroke-width: var(--helix-border-thin);vector-effect: non-scaling-stroke}[part~="cell-selected"] > * {stroke: var(--spatial-heatmap-selected-color, var(--_spatial-heatmap-ink));stroke-dasharray: 3px 2px;stroke-width: var(--helix-border-thick)}@media (hover: hover) {[part~="cell"]:hover > * {stroke: var(--_spatial-heatmap-ink);stroke-dasharray: none;stroke-width: var(--helix-border-thick)}}[part~="cell-active"] > * {stroke: var(--_spatial-heatmap-ink);stroke-dasharray: none;stroke-width: var(--helix-border-thick)}[part~="strip"]:focus-visible {outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);outline-offset: var(--helix-size-focus-offset)}[part="live"], [part="overview"], [part="selection"], [part="table"] {block-size: 1px;clip-path: inset(50%);inline-size: 1px;margin: var(--helix-space-none);overflow: hidden;position: absolute;white-space: nowrap}[part="footer"] {color: var(--helix-color-foreground-subtle);display: grid;font-family: var(--helix-font-sans);font-size: var(--helix-text-xs);min-block-size: 1lh;padding-block-start: var(--helix-space-xs);position: relative}[part="start"], [part="end"] {inset-block-start: 0;position: absolute;white-space: nowrap}[part="start"] {inset-inline-start: 0}[part="end"] {inset-inline-end: 0}[part="start"][data-placed], [part="end"][data-placed] {inset-block-start: var(--spatial-heatmap-label-y);inset-inline-end: auto;inset-inline-start: var(--spatial-heatmap-label-x)}[part="summary"] {text-align: center}[part="footer"][data-empty] {display: none}[part="empty"], [part="loading"] {color: var(--helix-color-foreground-subtle);font-family: var(--helix-font-sans);font-size: var(--helix-text-sm);margin: var(--helix-space-none);text-align: center}@media print {[part~="cell"] > *, [part~="base"] > * {stroke: var(--helix-color-border);stroke-width: var(--helix-border-thin)}}@media (forced-colors: active) {[part~="cell"] > * {forced-color-adjust: none;stroke: CanvasText}[part~="base"] > * {fill: Canvas;stroke: CanvasText}[part~="cell-active"] > *, [part~="cell-selected"] > * {stroke: Highlight;stroke-width: var(--helix-border-thick)}}`);
|
|
@@ -7,7 +7,8 @@ import '../../tooltip/index.js';
|
|
|
7
7
|
* @description
|
|
8
8
|
* Each reading is a prism. The top face takes the cell's tone, and the two
|
|
9
9
|
* sides are the same tone, shaded darker, so the whole relief follows your
|
|
10
|
-
* theme's colors.
|
|
10
|
+
* theme's colors. The chart draws the relief in SVG, and
|
|
11
|
+
* `@fusion.dev/helix-plot` can draw it with three.js.
|
|
11
12
|
*
|
|
12
13
|
* `tones="1 2 3 4 5"` uses the same five-step ramp as `Heatmap`, so the tone
|
|
13
14
|
* and the height both show the value. Set `--spatial-heatmap-cell-size` to
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { createSheet } from '@fusion.dev/helix-core';
|
|
2
|
-
export const styles = createSheet(`:host {display: block}[part="plot"] {background-color: var(--helix-color-surface-sunken);block-size: var(--spatial-scatter-chart-block-size, 22em);border-radius: var(--helix-radii-md);overflow: hidden;position: relative}::slotted(*) {inset: 0;position: absolute}[part="plot"]:focus-visible {outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);outline-offset: var(--helix-size-focus-offset)}[part="fallback"] {inset: var(--helix-space-md);position: absolute}[part="fallback"][hidden] {display: none}[part="drawing"] {block-size: 100%;display: block;font-family: var(--helix-font-sans);inline-size: 100%;overflow: visible}[part="grid"] {fill: none;opacity: 0.35;stroke: var(--helix-color-foreground-muted);stroke-width: var(--helix-border-thin);vector-effect: non-scaling-stroke}[part="tick"] {fill: var(--helix-color-foreground-muted);font-weight: var(--helix-weight-medium)}[part="axis-name"] {fill: var(--helix-color-foreground);font-weight: var(--helix-weight-semibold)}[part~="point"] {fill: var(--chart-series, var(--helix-color-primary));stroke: var(--helix-color-surface-sunken);stroke-width: var(--helix-border-thin);vector-effect: non-scaling-stroke}foreignObject > [part="mark"] {translate: -50% -50%}[part="ring"] {fill: none;pointer-events: none;stroke: var(--helix-color-foreground);stroke-width: var(--helix-border-thick);vector-effect: non-scaling-stroke}[part="live"], [part="summary"], [part="table"] {block-size: 1px;clip-path: inset(50%);inline-size: 1px;margin: var(--helix-space-none);overflow: hidden;position: absolute;white-space: nowrap}[part="empty"], [part="loading"] {color: var(--helix-color-foreground-subtle);font-family: var(--helix-font-sans);font-size: var(--helix-text-sm);margin: var(--helix-space-none);text-align: center}@media print {[part~="point"] {stroke: var(--helix-color-border)}}@media (forced-colors: active) {[part~="point"] {forced-color-adjust: none;stroke: CanvasText}[part="grid"] {stroke: CanvasText}[part="tick"], [part="axis-name"] {fill: CanvasText}[part="ring"] {stroke: Highlight}}`);
|
|
2
|
+
export const styles = createSheet(`:host {display: block}[part="plot"] {background-color: var(--helix-color-surface-sunken);block-size: var(--spatial-scatter-chart-block-size, 22em);border-radius: var(--helix-radii-md);overflow: hidden;position: relative}::slotted(*) {inset: 0;position: absolute}[part="plot"]:focus-visible {outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);outline-offset: var(--helix-size-focus-offset)}[part="fallback"] {inset: var(--helix-space-md);position: absolute}[part="fallback"][hidden] {display: none}[part="drawing"] {block-size: 100%;display: block;font-family: var(--helix-font-sans);inline-size: 100%;overflow: visible;touch-action: pan-y;user-select: none}[part="grid"] {fill: none;opacity: 0.35;stroke: var(--helix-color-foreground-muted);stroke-width: var(--helix-border-thin);vector-effect: non-scaling-stroke}[part="tick"] {fill: var(--helix-color-foreground-muted);font-weight: var(--helix-weight-medium)}[part="axis-name"] {fill: var(--helix-color-foreground);font-weight: var(--helix-weight-semibold)}[part~="point"] {fill: var(--chart-series, var(--helix-color-primary));stroke: var(--helix-color-surface-sunken);stroke-width: var(--helix-border-thin);vector-effect: non-scaling-stroke}foreignObject > [part="mark"] {translate: -50% -50%}[part="ring"] {fill: none;pointer-events: none;stroke: var(--helix-color-foreground);stroke-width: var(--helix-border-thick);vector-effect: non-scaling-stroke}[part="live"], [part="summary"], [part="table"] {block-size: 1px;clip-path: inset(50%);inline-size: 1px;margin: var(--helix-space-none);overflow: hidden;position: absolute;white-space: nowrap}[part="empty"], [part="loading"] {color: var(--helix-color-foreground-subtle);font-family: var(--helix-font-sans);font-size: var(--helix-text-sm);margin: var(--helix-space-none);text-align: center}@media print {[part~="point"] {stroke: var(--helix-color-border)}}@media (forced-colors: active) {[part~="point"] {forced-color-adjust: none;stroke: CanvasText}[part="grid"] {stroke: CanvasText}[part="tick"], [part="axis-name"] {fill: CanvasText}[part="ring"] {stroke: Highlight}}`);
|
|
@@ -5,9 +5,9 @@ import '../../tooltip/index.js';
|
|
|
5
5
|
* @summary A chart that plots each row as a point in three dimensions, for data with three measures.
|
|
6
6
|
*
|
|
7
7
|
* @description
|
|
8
|
-
* The
|
|
9
|
-
*
|
|
10
|
-
*
|
|
8
|
+
* The chart draws the points in 3D in SVG, and `@fusion.dev/helix-plot` can
|
|
9
|
+
* draw them with three.js. Each group takes a series color from the theme, as
|
|
10
|
+
* every chart's series does, in both drawings.
|
|
11
11
|
*
|
|
12
12
|
* @since 0.190.0
|
|
13
13
|
* @status experimental
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { createSheet } from '@fusion.dev/helix-core';
|
|
2
|
-
export const styles = createSheet(`:host {--_spatial-surface-chart-high: var(--spatial-surface-chart-high, var(--helix-color-primary-active));--_spatial-surface-chart-low: var(--spatial-surface-chart-low, color-mix(in oklab, var(--helix-color-primary-active) 15%, var(--helix-color-surface-sunken)));display: block}[part="plot"] {background-color: var(--helix-color-surface-sunken);block-size: var(--spatial-surface-chart-block-size, 22em);border-radius: var(--helix-radii-md);overflow: hidden;position: relative}::slotted(*) {inset: 0;position: absolute}[part="plot"]:focus-visible {outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);outline-offset: var(--helix-size-focus-offset)}[part="fallback"] {inset: var(--helix-space-md);position: absolute}[part="fallback"][hidden] {display: none}[part="drawing"] {block-size: 100%;display: block;font-family: var(--helix-font-sans);inline-size: 100%;overflow: visible}[part="grid"] {fill: none;opacity: 0.35;stroke: var(--helix-color-foreground-muted);stroke-width: var(--helix-border-thin);vector-effect: non-scaling-stroke}[part="tick"] {fill: var(--helix-color-foreground-muted);font-weight: var(--helix-weight-medium)}[part="axis-name"] {fill: var(--helix-color-foreground);font-weight: var(--helix-weight-semibold)}[part="face"] {--_spatial-surface-chart-color: color-mix(in oklab, var(--_spatial-surface-chart-high) calc(var(--spatial-surface-chart-level, 0) * 100%), var(--_spatial-surface-chart-low));--_spatial-surface-chart-lit: oklch(from var(--_spatial-surface-chart-color) calc(l - var(--spatial-surface-chart-shade, 0)) c h);--_spatial-surface-chart-rule: oklch(from var(--_spatial-surface-chart-lit) calc(l + clamp(-0.1, (0.6 - l) * 1000, 0.14)) c h);fill: var(--_spatial-surface-chart-lit);stroke: var(--_spatial-surface-chart-rule);stroke-linejoin: round;stroke-width: var(--helix-border-thin);vector-effect: non-scaling-stroke}foreignObject > [part="mark"] {translate: -50% -50%}[part="ring"] {fill: none;pointer-events: none;stroke: var(--helix-color-foreground);stroke-width: var(--helix-border-thick);vector-effect: non-scaling-stroke}[part="live"], [part="summary"], [part="table"] {block-size: 1px;clip-path: inset(50%);inline-size: 1px;margin: var(--helix-space-none);overflow: hidden;position: absolute;white-space: nowrap}[part="empty"], [part="loading"] {color: var(--helix-color-foreground-subtle);font-family: var(--helix-font-sans);font-size: var(--helix-text-sm);margin: var(--helix-space-none);text-align: center}@media print {[part="face"] {stroke: var(--helix-color-border)}}@media (forced-colors: active) {[part="face"] {forced-color-adjust: none;stroke: CanvasText}[part="grid"] {stroke: CanvasText}[part="tick"], [part="axis-name"] {fill: CanvasText}[part="ring"] {stroke: Highlight}}`);
|
|
2
|
+
export const styles = createSheet(`:host {--_spatial-surface-chart-high: var(--spatial-surface-chart-high, var(--helix-color-primary-active));--_spatial-surface-chart-low: var(--spatial-surface-chart-low, color-mix(in oklab, var(--helix-color-primary-active) 15%, var(--helix-color-surface-sunken)));display: block}[part="plot"] {background-color: var(--helix-color-surface-sunken);block-size: var(--spatial-surface-chart-block-size, 22em);border-radius: var(--helix-radii-md);overflow: hidden;position: relative}::slotted(*) {inset: 0;position: absolute}[part="plot"]:focus-visible {outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);outline-offset: var(--helix-size-focus-offset)}[part="fallback"] {inset: var(--helix-space-md);position: absolute}[part="fallback"][hidden] {display: none}[part="drawing"] {block-size: 100%;display: block;font-family: var(--helix-font-sans);inline-size: 100%;overflow: visible;touch-action: pan-y;user-select: none}[part="grid"] {fill: none;opacity: 0.35;stroke: var(--helix-color-foreground-muted);stroke-width: var(--helix-border-thin);vector-effect: non-scaling-stroke}[part="tick"] {fill: var(--helix-color-foreground-muted);font-weight: var(--helix-weight-medium)}[part="axis-name"] {fill: var(--helix-color-foreground);font-weight: var(--helix-weight-semibold)}[part="face"] {--_spatial-surface-chart-color: color-mix(in oklab, var(--_spatial-surface-chart-high) calc(var(--spatial-surface-chart-level, 0) * 100%), var(--_spatial-surface-chart-low));--_spatial-surface-chart-lit: oklch(from var(--_spatial-surface-chart-color) calc(l - var(--spatial-surface-chart-shade, 0)) c h);--_spatial-surface-chart-rule: oklch(from var(--_spatial-surface-chart-lit) calc(l + clamp(-0.1, (0.6 - l) * 1000, 0.14)) c h);fill: var(--_spatial-surface-chart-lit);stroke: var(--_spatial-surface-chart-rule);stroke-linejoin: round;stroke-width: var(--helix-border-thin);vector-effect: non-scaling-stroke}foreignObject > [part="mark"] {translate: -50% -50%}[part="ring"] {fill: none;pointer-events: none;stroke: var(--helix-color-foreground);stroke-width: var(--helix-border-thick);vector-effect: non-scaling-stroke}[part="live"], [part="summary"], [part="table"] {block-size: 1px;clip-path: inset(50%);inline-size: 1px;margin: var(--helix-space-none);overflow: hidden;position: absolute;white-space: nowrap}[part="empty"], [part="loading"] {color: var(--helix-color-foreground-subtle);font-family: var(--helix-font-sans);font-size: var(--helix-text-sm);margin: var(--helix-space-none);text-align: center}@media print {[part="face"] {stroke: var(--helix-color-border)}}@media (forced-colors: active) {[part="face"] {forced-color-adjust: none;stroke: CanvasText}[part="grid"] {stroke: CanvasText}[part="tick"], [part="axis-name"] {fill: CanvasText}[part="ring"] {stroke: Highlight}}`);
|
|
@@ -5,8 +5,8 @@ import '../../tooltip/index.js';
|
|
|
5
5
|
* @summary A chart that draws a height over a grid as a surface in three dimensions, for a measure that varies over two others.
|
|
6
6
|
*
|
|
7
7
|
* @description
|
|
8
|
-
* The
|
|
9
|
-
*
|
|
8
|
+
* The chart draws the surface in 3D in SVG, and `@fusion.dev/helix-plot` can
|
|
9
|
+
* draw it with three.js. Every height is shaded along one
|
|
10
10
|
* ramp from the theme's primary color, quiet where it is low and strong where
|
|
11
11
|
* it is high, so the two drawings agree.
|
|
12
12
|
*
|