fixed bug handling bar chart height/color/sort linking settings.

Change-Id: I78bd4e02adc03aa7dde69547c8f0f7a6c5f3ddce