Skip to content

MultiScatter/Scatter: refactor logic for providing fill to <Symbol /> #93

@GabeMedrash

Description

@GabeMedrash

Currently, the only way to reliably provide the same fill to an entire <Scatter /> is to provide a dataAccessor.fill. While <MultiScatter /> exposes fieldAccessors.color, relying on it depends on const fillValue = propResolver(datum, dataAccessors.fill || dataAccessors.x); resolving to a non-finite value. That's wonky!

Providing fieldAccessor.color should reliably determine fill for an entire <Scatter />.

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