Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for line height CSS values #4531

Merged
merged 1 commit into from Jul 20, 2017

Commits on Jul 20, 2017

  1. Add support for line height CSS values

    The title plugin and scale title now accept lineHeight specified using unitless value (1.4), length ('1.4em' or '12px'), percentage ('200%') or keyword ('normal' === 1.2). The line height parsing has been refactored under the 'Chart.helpers.options' namespace. Also fix incorrect text positioning in the title plugin.
    
    https://developer.mozilla.org/en-US/docs/Web/CSS/line-height
    simonbrunel committed Jul 20, 2017
    Configuration menu
    Copy the full SHA
    403836c View commit details
    Browse the repository at this point in the history