abstracted creation of bars
working tooltip messages