mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-07 04:39:06 +02:00
Remove lineHeight property from ScaleTitle (#7477)
`lineHeight` it should not be used anymore because inside the `Font` object
This commit is contained in:
parent
17a1fe9d02
commit
09a12f8bff
@ -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.
|
| `display` | `boolean` | `false` | If true, display the axis title.
|
||||||
| `align` | `string` | `'center'` | Alignment of the axis title. Possible options are `'start'`, `'center'` and `'end'`
|
| `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").
|
| `labelString` | `string` | `''` | The text for the title. (i.e. "# of People" or "Response Choices").
|
||||||
| `lineHeight` | <code>number|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)
|
| `font` | `Font` | `defaults.font` | See [Fonts](fonts.md)
|
||||||
| `padding` | <code>number|object</code> | `4` | Padding to apply around scale labels. Only `top` and `bottom` are implemented.
|
| `padding` | <code>number|object</code> | `4` | Padding to apply around scale labels. Only `top` and `bottom` are implemented.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user