Setting bar table in bars#index