@blueprint-chart/docs 2.11.0 → 2.12.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blueprint-chart/docs",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.12.0",
|
|
4
4
|
"description": "Public documentation for Blueprint Chart — handbook, guide, BPC DSL spec, and lib API reference.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"provenance": true
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@blueprint-chart/lib": "2.
|
|
37
|
-
"@blueprint-chart/ui": "2.
|
|
36
|
+
"@blueprint-chart/lib": "2.12.0",
|
|
37
|
+
"@blueprint-chart/ui": "2.12.0",
|
|
38
38
|
"@fontsource-variable/geist": "^5.3.0",
|
|
39
39
|
"@fontsource-variable/geist-mono": "^5.3.0",
|
|
40
40
|
"@fontsource/dm-serif-display": "^5.3.0",
|
package/src/charts/area.md
CHANGED
|
@@ -59,6 +59,7 @@ Every property `area` accepts, beside the [frame and layout keys](/reference/dsl
|
|
|
59
59
|
| `colorPalette` | select, see [Palettes](/guide/palettes) | `Blueprint` |
|
|
60
60
|
| `autoContrast` | boolean | `false` |
|
|
61
61
|
| `allowDarkMode` | boolean | `true` |
|
|
62
|
+
| `areaFillOpacity` | text | `0.25` |
|
|
62
63
|
| `interpolation` | select: `linear`, `monotoneX`, `step`, `stepBefore`, `stepAfter`, `basis`, `cardinal`, `catmullRom` | `monotoneX` |
|
|
63
64
|
| `edgePadding` | boolean | `false` |
|
|
64
65
|
| `showVerticalAxis` | boolean | `false` |
|
|
@@ -96,7 +97,7 @@ Every property `area` accepts, beside the [frame and layout keys](/reference/dsl
|
|
|
96
97
|
## Common pitfalls
|
|
97
98
|
|
|
98
99
|
- The y-axis must start at zero — the filled area encodes magnitude
|
|
99
|
-
- The fill sits at 0.25 opacity so the line stays readable
|
|
100
|
+
- The fill sits at 0.25 opacity by default (`areaFillOpacity`) so the line stays readable
|
|
100
101
|
- Don't stack two area charts by overlapping them; reach for [`area-stacked`](./area-stacked)
|
|
101
102
|
|
|
102
103
|
## Related types
|
|
@@ -54,6 +54,7 @@ Every property `bar-grouped` accepts, beside the [frame and layout keys](/refere
|
|
|
54
54
|
| `colorPalette` | select, see [Palettes](/guide/palettes) | `Blueprint` |
|
|
55
55
|
| `autoContrast` | boolean | `false` |
|
|
56
56
|
| `allowDarkMode` | boolean | `true` |
|
|
57
|
+
| `barGap` | text | `60` |
|
|
57
58
|
| `sortMode` | select: `none`, `total`, `within-groups` | `total` |
|
|
58
59
|
| `legend` | boolean | `true` |
|
|
59
60
|
| `legendAnchor` | select: `start`, `middle`, `end` | `start` |
|
package/src/charts/bar-multi.md
CHANGED
|
@@ -58,6 +58,7 @@ Every property `bar-multi` accepts, beside the [frame and layout keys](/referenc
|
|
|
58
58
|
| `colorPalette` | select, see [Palettes](/guide/palettes) | `Blueprint` |
|
|
59
59
|
| `autoContrast` | boolean | `false` |
|
|
60
60
|
| `allowDarkMode` | boolean | `true` |
|
|
61
|
+
| `barGap` | text | `60` |
|
|
61
62
|
| `sortMode` | select: `none`, `total`, `within-groups` | `total` |
|
|
62
63
|
| `legend` | boolean | `false` |
|
|
63
64
|
| `legendAnchor` | select: `start`, `middle`, `end` | `start` |
|
package/src/charts/bar-split.md
CHANGED
|
@@ -55,6 +55,7 @@ Every property `bar-split` accepts, beside the [frame and layout keys](/referenc
|
|
|
55
55
|
| `colorPalette` | select, see [Palettes](/guide/palettes) | `Blueprint` |
|
|
56
56
|
| `autoContrast` | boolean | `false` |
|
|
57
57
|
| `allowDarkMode` | boolean | `true` |
|
|
58
|
+
| `barGap` | text | `60` |
|
|
58
59
|
| `sharedScale` | boolean | `false` |
|
|
59
60
|
| `sortMode` | select: `none`, `total`, `within-groups` | `none` |
|
|
60
61
|
| `legend` | boolean | `true` |
|
|
@@ -56,6 +56,7 @@ Every property `bar-stacked` accepts, beside the [frame and layout keys](/refere
|
|
|
56
56
|
| `colorPalette` | select, see [Palettes](/guide/palettes) | `Blueprint` |
|
|
57
57
|
| `autoContrast` | boolean | `false` |
|
|
58
58
|
| `allowDarkMode` | boolean | `true` |
|
|
59
|
+
| `barGap` | text | `60` |
|
|
59
60
|
| `stackMode` | select: `normal`, `percent` | `normal` |
|
|
60
61
|
| `sortMode` | select: `none`, `total`, `within-groups` | `none` |
|
|
61
62
|
| `legend` | boolean | `true` |
|
|
@@ -51,6 +51,7 @@ Every property `column-stacked` accepts, beside the [frame and layout keys](/ref
|
|
|
51
51
|
| `colorPalette` | select, see [Palettes](/guide/palettes) | `Blueprint` |
|
|
52
52
|
| `autoContrast` | boolean | `false` |
|
|
53
53
|
| `allowDarkMode` | boolean | `true` |
|
|
54
|
+
| `barGap` | text | `60` |
|
|
54
55
|
| `stackMode` | select: `normal`, `percent` | `normal` |
|
|
55
56
|
| `sortMode` | select: `none`, `total`, `within-groups` | `none` |
|
|
56
57
|
| `legend` | boolean | `true` |
|