bug fix: bar was one element behind linechart