analytics bar chart selector and set data