Closed Timopheym closed 9 years ago
Hey @Timopheym what is the desired result? Do you want the grid line to be evenly spaced between the two groups?
Yes. For the bar charts, it would make sense to separate ticks from grid lines in order to provide a visual separation among the groups.
+1 I would investigate the grid feature because if you can do this with d3 natively you should be able to do it with d4 because it allows you to pass in the accessors already. So the next step would be to figure out how to do this with d3 out of the box.
We did the right choice, to rewrite all our d3 charts to d4.
For line chart it looks more strange
How would you control this in native d3?
What do you mean? Just make another position for grid.
Oh I meant how would you do this without d4 because that is how you should be able to do it with d4. Though it is curious that they don't line up with the dots out of the box. Is this something you can post as a fiddle or something?
Fixed in release ed84d7eaab1d1fce5b738ad5acb73301b7d24c3c
If i create a grid for bar chat, the grid line goes throw the group. But i want to set it between the lines. How could it be done in a more elegant way?