yang-wei / rd3

react + d3
https://yang-wei.github.io/rd3/
MIT License
319 stars 83 forks source link

Unexpected value NaN parsing cy attribute #73

Closed terebentina closed 8 years ago

terebentina commented 8 years ago

Using values other than x and y on a LineChart with xAccessor/yAccessor yields this error: Unexpected value NaN parsing cy attribute (also with cx). Fiddle with the default LineChart example with pairs changed to a/b instead of x/y and the accessor props added: https://jsfiddle.net/terebentina/9g7zbk0h/21/

yang-wei commented 8 years ago

with the latest release (0.7.1), this seems working in my local development.

Please reopen this issue if it doesnt solve yours.

(Really sorry for the late reply)