Made bar chart DOM elements part of the reactive model.