BUGFIX: bars options are now correctly set depending on the data format.