Ignore annoying backup files.
Copy the CSS classes from the list item to the corresponding chart node.