Skip to content

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

@krissalvador27

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.

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