Fix bug: bar chart collapses

Signed-off-by: Kirill Enykeev <enykeev@gmail.com>