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
In dc.js, when you click on a bar chart bar, and you already have another bar selected, both bars become selected. This is counterintuitive when compared to how most software, like file browsers, work. In file browsers, clicking on a separate item will deselect the previous item and select the currently clicked item. To select both, you would control/command click on the item. You could even go so far as to add shift clicking to select multiple at once. Changing this would make dc.js easier to use when comparing, for example, line charts controlled by a categorical row chart, as it would one take one click instead of two to compare each of the different groups.
BTW, this is not just me theorizing about what would make more sense. Most of the people using my system that was built with dc.js have complained about this as it bucks their expectations.
The text was updated successfully, but these errors were encountered:
It would be good to have a way to define and specify the desired behavior, because there are actually a lot of different behaviors that different people expect.
Updated code above - there is actually a moment you can "click on the old handler" if you use renderlet instead of pretransition. Also adding example here:
In dc.js, when you click on a bar chart bar, and you already have another bar selected, both bars become selected. This is counterintuitive when compared to how most software, like file browsers, work. In file browsers, clicking on a separate item will deselect the previous item and select the currently clicked item. To select both, you would control/command click on the item. You could even go so far as to add shift clicking to select multiple at once. Changing this would make dc.js easier to use when comparing, for example, line charts controlled by a categorical row chart, as it would one take one click instead of two to compare each of the different groups.
BTW, this is not just me theorizing about what would make more sense. Most of the people using my system that was built with dc.js have complained about this as it bucks their expectations.
The text was updated successfully, but these errors were encountered: