@flourish/chart-layout
Advanced tools
Comparing version 9.4.4 to 9.5.0
{ | ||
"name": "@flourish/chart-layout", | ||
"version": "9.4.4", | ||
"version": "9.5.0", | ||
"description": "Create axes", | ||
@@ -5,0 +5,0 @@ "main": "chart-layout.js", |
@@ -21,3 +21,3 @@ # Flourish chart layout | ||
Import the corresponding settings into your `template.yml`, e.g.: | ||
Import the corresponding settings into your `template.yml`. | ||
@@ -39,2 +39,26 @@ ```yml | ||
For typed templates you can also add overrides to show or hide settings based on the type of a data binding. For example: | ||
``` yml | ||
- property: x | ||
import: "@flourish/chart-layout/x" | ||
overrides: | ||
- tag: numeric | ||
method: extend | ||
show_if: | ||
data.data.x.type: number | ||
- tag: temporal | ||
method: extend | ||
show_if: | ||
data.data.x.type: datetime | ||
- tag: categorical | ||
method: extend | ||
show_if: | ||
data.data.x.type: string | ||
- tag: continuous | ||
method: extend | ||
show_if: | ||
data.data.x.type: [number, datetime] | ||
``` | ||
## How to use | ||
@@ -41,0 +65,0 @@ |
@@ -0,1 +1,4 @@ | ||
# 9.5.0 | ||
* Add yml tag properties to settings | ||
# 9.4.4 | ||
@@ -2,0 +5,0 @@ * Tweak calculation of default domain when forcing inclusion of 0 |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
426691
339