From 7f9d59796ea70de9e609e13454ac0800d13d1838 Mon Sep 17 00:00:00 2001 From: Josh Kelley Date: Tue, 26 May 2026 23:31:25 -0400 Subject: [PATCH] Add a note that axis labels can span lines This question was asked in Discord. --- docs/axes/labelling.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/axes/labelling.md b/docs/axes/labelling.md index 2c4a7f4b206..34baeb704bb 100644 --- a/docs/axes/labelling.md +++ b/docs/axes/labelling.md @@ -10,7 +10,7 @@ Namespace: `options.scales[scaleId].title`, it defines options for the scale tit | ---- | ---- | ------- | ----------- | `display` | `boolean` | `false` | If true, display the axis title. | `align` | `string` | `'center'` | Alignment of the axis title. Possible options are `'start'`, `'center'` and `'end'` -| `text` | `string`\|`string[]` | `''` | The text for the title. (i.e. "# of People" or "Response Choices"). +| `text` | `string`\|`string[]` | `''` | The text for the title. (i.e. "# of People" or "Response Choices"). If specified as an array, text is rendered on multiple lines. | `color` | [`Color`](../general/colors.md) | `Chart.defaults.color` | Color of label. | `strokeColor` | [`Color`](../general/colors.md) | | Color of text stroke. | `strokeWidth` | `number` | | Size of stroke width, in pixels.