@blueprint-chart/docs 2.12.0 → 2.13.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.12.0",
3
+ "version": "2.13.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.12.0",
37
- "@blueprint-chart/ui": "2.12.0",
36
+ "@blueprint-chart/lib": "2.13.0",
37
+ "@blueprint-chart/ui": "2.13.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",
@@ -81,6 +81,7 @@ Every property `column-stacked` accepts, beside the [frame and layout keys](/ref
81
81
  | `crosshairDirection` | select: `both`, `vertical`, `horizontal` | `both` |
82
82
  | `crosshairStyle` | select: `solid`, `dashed`, `dotted` | `dashed` |
83
83
  | `crosshairColor` | text | `#999` |
84
+ | `showTotal` | boolean | `false` |
84
85
 
85
86
  <!-- options:end -->
86
87
 
@@ -89,6 +90,7 @@ Every property `column-stacked` accepts, beside the [frame and layout keys](/ref
89
90
  - Stacking too many series — the top layers float and lose their baseline
90
91
  - Switching to `stackMode = "percent"` without telling the reader hides the change in absolute total
91
92
  - Inconsistent segment ordering between columns destroys the visual flow
93
+ - `showTotal` labels the sum of the positive segments only; negative segments are left out and a column with no positive value gets no total. It is off in percent mode, where every total would read 100 %
92
94
 
93
95
  ## Related types
94
96
 
@@ -66,6 +66,7 @@ Every property `donut` accepts, beside the [frame and layout keys](/reference/ds
66
66
  | `directLabelling` | select: `""`, `auto`, `outside`, `inside` | `auto` |
67
67
  | `tooltips` | boolean | `false` |
68
68
  | `displayAsPercentage` | boolean | `false` |
69
+ | `verticalNumberFormat` | numberFormat | (unset) |
69
70
  | `showTotal` | boolean | `true` |
70
71
  | `showLabels` | boolean | `true` |
71
72
  | `showValues` | boolean | `true` |
@@ -94,6 +94,8 @@ Every property `line-multi` accepts, beside the [frame and layout keys](/referen
94
94
  | `lineSymbolStyle` | select: `filled`, `hollow` | `filled` |
95
95
  | `lineSymbolSize` | text | `3.5` |
96
96
  | `lineSymbolOpacity` | text | `1` |
97
+ | `valueLabelPoints` | select: `all`, `firstLast`, `last`, `everyN` | `all` |
98
+ | `valueLabelEvery` | text | `2` |
97
99
 
98
100
  <!-- options:end -->
99
101
 
@@ -90,6 +90,8 @@ Every property `line` accepts, beside the [frame and layout keys](/reference/dsl
90
90
  | `lineSymbolStyle` | select: `filled`, `hollow` | `filled` |
91
91
  | `lineSymbolSize` | text | `3.5` |
92
92
  | `lineSymbolOpacity` | text | `1` |
93
+ | `valueLabelPoints` | select: `all`, `firstLast`, `last`, `everyN` | `all` |
94
+ | `valueLabelEvery` | text | `2` |
93
95
 
94
96
  <!-- options:end -->
95
97
 
package/src/charts/pie.md CHANGED
@@ -63,6 +63,7 @@ Every property `pie` accepts, beside the [frame and layout keys](/reference/dsl/
63
63
  | `directLabelling` | select: `""`, `auto`, `outside`, `inside` | `auto` |
64
64
  | `tooltips` | boolean | `false` |
65
65
  | `displayAsPercentage` | boolean | `true` |
66
+ | `verticalNumberFormat` | numberFormat | (unset) |
66
67
  | `showLabels` | boolean | `true` |
67
68
  | `showValues` | boolean | `true` |
68
69
  | `sliceMax` | text | `5` |