Skip to content

YAxisLabels should calculate margin top and margin bottom using alignmentBaseline #172

Description

@krissalvador27

Currently YAxisLabels calculates its margin top and margin bottom with textAnchor attribute. That doesn't make sense since textAnchor determines <text> alignment on the horizontal plane.

YAxisLabels should be taking into account alignmentBaseline to determine any vertical overhang.

Issue in screenshot below
Screen Shot 2019-08-20 at 5 21 06 PM

The margin bottom should be adjusted to account for alignmentBaseline: hanging.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions