Split bar chart views into client and server functionality