Skip to content

scatterPlot gets wrong colors using ordinal scale and legend #1138

@alexnb

Description

@alexnb

dc 2.0.0-beta.27: when setting custom ordinalColors, the return values of the colorAccessor are interpreted not as the index inside the ordinalColor array which leads to wrong colors of points/legend.

Example see: http://jsfiddle.net/bourbert/uvoL3tnc/1/ (indices 0 and 1 are green and red, but points are red and blue).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions