Actions
Task #6452
closedFeature #5975: Implement 'Statistics' view
Add class to labels of donut arcs when user hovers over the arcs
Start date:
03/11/2014
Due date:
% Done:
0%
Estimated time:
Description
For flexible styling
Updated by Lauren Walker over 10 years ago
- Status changed from New to Resolved
- translation missing: en.field_remaining_hours set to 0.0
This was a little trickier than I thought it would be because SVG elements are treated differently than other HTML elements by jQuery - notably when selecting and manipulating the classes of SVG elements. For example, I had to manually toggle the class names of SVG elements by manipulating the "class" attribute string value rather than using $el.toggleClass()
But now all labels on the donut charts are always visible and have better interaction on hover.
Actions