Hi everybody, I have create a stackedbar chart composed by 5 quantitative variable where each variable is a rectangle, now my problem is the following: I have to click on a rectangle of a stacked bar, after the click this rectangle have to take the position of the rectangle above it and this must happen in each stacked bar, I thought also to use not the click event but the drag and drop event but i Don’t know how can i do in each case.
I have to do this in JavaScript and using d3.js.
If we want the code to understand better tell me.
-
This topic was modified 4 years, 5 months ago by Ciere.