First, thanks for putting this together (and the article).
My question is, let's say I have a number of dimensions that I want to display with a rowChart.
Thus, instead of creating a component for each one, I would like to create instances of a generic one.
How do I pass the data for each specific dimension?
I am thinking something like a props on the component on the dashboard.js
<DayOfWeekChart data="d.dd/>
I want to be able able to make a general purpose tool, so there could be another data source with the metadata for the "real" data source.
how you will pass the data to each instance of such component?
First, thanks for putting this together (and the article).
My question is, let's say I have a number of dimensions that I want to display with a rowChart.
Thus, instead of creating a component for each one, I would like to create instances of a generic one.
How do I pass the data for each specific dimension?
I am thinking something like a props on the component on the dashboard.js
<DayOfWeekChart data="d.dd/>
I want to be able able to make a general purpose tool, so there could be another data source with the metadata for the "real" data source.
how you will pass the data to each instance of such component?