bugfix - missing );
fix to call chartB