You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 18, 2019. It is now read-only.
We've been kind of assuming people will use x and y as the names of their respective data names, which is pretty inflexible. We should probably let them specify a custom x and y accessor. So, they could do something like:
We've been kind of assuming people will use
x
andy
as the names of their respective data names, which is pretty inflexible. We should probably let them specify a custom x and y accessor. So, they could do something like:<Chart x_accessor="event_dates" y_accessor="event_values" />
And then instead of using
point.x
andpoint.y
, we'd usepoint.[props.x_accessor]
etc.Does this sound reasonable?
The text was updated successfully, but these errors were encountered: