Add code way sample for bar chart.