chore: Use yaml instead of note for standalone config: example

This commit is contained in:
Josh Soref
2025-04-17 13:40:09 -04:00
parent 2ff6de11dc
commit 330c48fa3f
2 changed files with 18 additions and 6 deletions

View File

@@ -138,9 +138,15 @@ xychart-beta
## Chart Theme Variables ## Chart Theme Variables
> **Note** Themes for xychart resides inside xychart attribute so to set the variables use this syntax:
> Themes for xychart resides inside xychart attribute so to set the variables use this syntax
> %%{init: { "themeVariables": {"xyChart": {"titleColor": "#ff0000"} } }}%% ```yaml
config:
themeVariables:
xyChart:
titleColor: "#ff0000"
---
```
| Parameter | Description | | Parameter | Description |
| ---------------- | --------------------------------------------------------- | | ---------------- | --------------------------------------------------------- |

View File

@@ -126,9 +126,15 @@ xychart-beta
## Chart Theme Variables ## Chart Theme Variables
```note Themes for xychart resides inside xychart attribute so to set the variables use this syntax:
Themes for xychart resides inside xychart attribute so to set the variables use this syntax
%%{init: { "themeVariables": {"xyChart": {"titleColor": "#ff0000"} } }}%% ```yaml
---
config:
themeVariables:
xyChart:
titleColor: "#ff0000"
---
``` ```
| Parameter | Description | | Parameter | Description |