From ba7880ae2e81a12c2f7c0a6704735d0326988e2c Mon Sep 17 00:00:00 2001 From: Sjur N Moshagen Date: Wed, 25 Oct 2023 21:48:06 +0200 Subject: [PATCH] Test configuration of pie chart --- infra/MarkdownTestReference.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/infra/MarkdownTestReference.md b/infra/MarkdownTestReference.md index 1dc34d1a..6d675e81 100644 --- a/infra/MarkdownTestReference.md +++ b/infra/MarkdownTestReference.md @@ -201,3 +201,13 @@ pie showData Based on counts of all files of the various types in all repositories in the GiellaLT infra. + +```mermaid +%%{init: {"pie": {"textPosition": 0.5}, "themeVariables": {"pieOuterStrokeWidth": "5px"}} }%% +pie showData + title Key elements in Product X + "Calcium" : 42.96 + "Potassium" : 50.05 + "Magnesium" : 10.01 + "Iron" : 5 +```