Skip to content

xScale is not propagated to grid #35

@JesperKihlberg

Description

@JesperKihlberg

I get a warning when trying to use an ordinal xScale in Barchart or ordinal yScale in BarHorizontalChart:
(Barchart:)
Warning: Failed propType: Invalid prop xScale of value band supplied to Grid, expected one of ["linear","identity","sqrt","pow","log","quantize","quantile","ordinal","time"]. Check the render method of YGrid.
(BarHorizontalChart:)
Warning: Failed propType: Invalid prop yScale of value band supplied to Grid, expected one of ["linear","identity","sqrt","pow","log","quantize","quantile","ordinal","time"]. Check the render method of XGrid.

Seems like it is not propagated properly to the grid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions