@blueprint-chart/docs 0.1.30 → 0.1.32
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 +3 -3
- package/src/guide/dsl-editor.md +1 -1
- package/src/guide/embed.md +1 -1
- package/src/guide/getting-started.md +1 -1
- package/src/handbook/annotations.md +1 -1
- package/src/handbook/tooltips.md +1 -1
- package/src/reference/api/index.md +1 -1
- package/src/reference/dsl/annotations.md +3 -3
- package/src/reference/dsl/index.md +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blueprint-chart/docs",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.32",
|
|
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",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"vitepress": "^1.5.0",
|
|
50
50
|
"vitest": "^3.2.4",
|
|
51
51
|
"vue": "^3.5",
|
|
52
|
-
"@blueprint-chart/lib": "0.1.
|
|
53
|
-
"@blueprint-chart/ui": "0.1.
|
|
52
|
+
"@blueprint-chart/lib": "0.1.32",
|
|
53
|
+
"@blueprint-chart/ui": "0.1.32"
|
|
54
54
|
},
|
|
55
55
|
"scripts": {
|
|
56
56
|
"dev": "vitepress dev src --host 0.0.0.0 --port 4445",
|
package/src/guide/dsl-editor.md
CHANGED
package/src/guide/embed.md
CHANGED
package/src/handbook/tooltips.md
CHANGED
|
@@ -78,20 +78,20 @@ No bundled sample currently uses `area-fill`. The grammar is documented and pars
|
|
|
78
78
|
|
|
79
79
|
## Annotations
|
|
80
80
|
|
|
81
|
-
Three kinds of annotation, sharing a body of properties (`text`, `
|
|
81
|
+
Three kinds of annotation, sharing a body of properties (`text`, `textOffsetX`, `textOffsetY`, `showArrow`, …):
|
|
82
82
|
|
|
83
83
|
### Point annotation — anchored to a data key
|
|
84
84
|
|
|
85
85
|
```bpc
|
|
86
86
|
annotation "2021" {
|
|
87
87
|
text = "All-time high cycle"
|
|
88
|
-
|
|
88
|
+
textOffsetY = -12
|
|
89
89
|
showArrow = true
|
|
90
90
|
}
|
|
91
91
|
```
|
|
92
92
|
|
|
93
93
|
::: info From `packages/lib/src/samples/bitcoin-price.bpc`
|
|
94
|
-
A minimal point annotation: the key matches a data label, `
|
|
94
|
+
A minimal point annotation: the key matches a data label, `textOffsetY` nudges the text up, and an arrow draws back to the point.
|
|
95
95
|
:::
|
|
96
96
|
|
|
97
97
|
A richer point annotation with a connector line and curved leader:
|