mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-10-31 02:44:17 +01:00 
			
		
		
		
	chore: Use yaml instead of note for standalone config: example
				
					
				
			This commit is contained in:
		| @@ -138,9 +138,15 @@ xychart-beta | ||||
|  | ||||
| ## Chart Theme Variables | ||||
|  | ||||
| > **Note** | ||||
| > Themes for xychart resides inside xychart attribute so to set the variables use this syntax | ||||
| > %%{init: { "themeVariables": {"xyChart": {"titleColor": "#ff0000"} } }}%% | ||||
| Themes for xychart resides inside xychart attribute so to set the variables use this syntax: | ||||
|  | ||||
| ```yaml | ||||
| config: | ||||
|     themeVariables: | ||||
|         xyChart: | ||||
|             titleColor: "#ff0000" | ||||
| --- | ||||
| ``` | ||||
|  | ||||
| | Parameter        | Description                                               | | ||||
| | ---------------- | --------------------------------------------------------- | | ||||
|   | ||||
| @@ -126,9 +126,15 @@ xychart-beta | ||||
|  | ||||
| ## Chart Theme Variables | ||||
|  | ||||
| ```note | ||||
| Themes for xychart resides inside xychart attribute so to set the variables use this syntax | ||||
| %%{init: { "themeVariables": {"xyChart": {"titleColor": "#ff0000"} } }}%% | ||||
| Themes for xychart resides inside xychart attribute so to set the variables use this syntax: | ||||
|  | ||||
| ```yaml | ||||
| --- | ||||
| config: | ||||
|   themeVariables: | ||||
|     xyChart: | ||||
|       titleColor: "#ff0000" | ||||
| --- | ||||
| ``` | ||||
|  | ||||
| | Parameter        | Description                                               | | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Josh Soref
					Josh Soref