Open bluong opened 9 years ago
I will probably consider it in #591 . A lot of the ugly code is there because _setup()
axisConfigurations()
and weird creation of DOM elements such that we can measure the size of the text in computeLayout()
For the moment putting it on hold.
The container instance variables are currently a bunch of D3.Selection arrays, which unless I'm mistaken is pretty anti-conventional of normal D3 code. It also makes it hard to deal with these containers in a D3 manner especially when we have to manipulate them (when needing to add more DOM elements or so).
We should structure them to use the enter/exit style that is conventional of most D3 code