Add missing requires for c2 bar chart example

See #291.