Creating Histogram in Graph panel

I would like to create graph as histogram. I am connected to Mysql. Its a simple query that retrieves month and its respective count for that month.
select itemValue as count, itemLabel as MonthName from Dashboard.queryData where metricId=‘carSalesGraph’ order by itemLabel ;

I have changed the format as to Table. I am not sure, how to give X-axis labels as month and Y-axis values with Count returned from query. Please provide me with inputs.