add example for discretebarchart