Project

General

Profile

Actions

Task #6452

closed

Feature #5975: Implement 'Statistics' view

Add class to labels of donut arcs when user hovers over the arcs

Added by Lauren Walker over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
03/11/2014
Due date:
% Done:

0%

Estimated time:

Description

For flexible styling

Actions #1

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

Also available in: Atom PDF