Remove lineHeight property from ScaleTitle (#7477)

`lineHeight` it should not be used anymore because inside the `Font` object
This commit is contained in:
stockiNail 2020-06-08 13:56:06 +02:00 committed by GitHub
parent 17a1fe9d02
commit 09a12f8bff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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.