I am creating bar graph.but it shows output like this.:
[![enter image description here][1]][1]


  [1]: https://i.sstatic.net/oeMhf.png


It is not rendering graph properly.
I am using this SQL statement in back end for graph:
SELECT Type,count(*) as Number from node GROUP by type