Skip to content

xScale is not propagated to grid #35

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.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions