configured barchart in related.js