]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Remove lineHeight property from ScaleTitle (#7477)
authorstockiNail <stocki.nail@gmail.com>
Mon, 8 Jun 2020 11:56:06 +0000 (13:56 +0200)
committerGitHub <noreply@github.com>
Mon, 8 Jun 2020 11:56:06 +0000 (07:56 -0400)
`lineHeight` it should not be used anymore because inside the `Font` object

docs/docs/axes/labelling.md

index efae5a860d1ecb3569ac51a16b3e8e186bc96ff6..cccb6578c39913a9bf43177ff7ac18380fa2471a 100644 (file)
@@ -13,7 +13,6 @@ The scale label configuration is nested under the scale configuration in the `sc
 | `display` | `boolean` | `false` | If true, display the axis title.
 | `align` | `string` | `'center'` | Alignment of the axis title. Possible options are `'start'`, `'center'` and `'end'`
 | `labelString` | `string` | `''` | The text for the title. (i.e. "# of People" or "Response Choices").
-| `lineHeight` | <code>number&#124;string</code> | `1.2` | Height of an individual line of text (see [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/line-height)).
 | `font` | `Font` | `defaults.font` | See [Fonts](fonts.md)
 | `padding` | <code>number&#124;object</code> | `4` | Padding to apply around scale labels. Only `top` and `bottom` are implemented.