You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f1f4d45
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/syntax/xyChart.md
+43Lines changed: 43 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -271,6 +271,49 @@ xychart
271
271
bar [12,2,20,25,17,24]
272
272
```
273
273
274
+
## Per-point text labels for line charts (v\<MERMAID_RELEASE_VERSION>+)
275
+
276
+
Each data point in a `line` can optionally include a quoted string label after the numeric value. Labels render above points in vertical orientation, or to the right in horizontal orientation, using the line's stroke color.
277
+
278
+
```mermaid-example
279
+
xychart
280
+
title "Smallest AI models scoring above 60% on MMLU"
0 commit comments