barSpacing property replaced with spacing, fixed resize function for
barstack