I'm using groovy script to connect to mongodb. In SQL I can see mentioning we're mentioning x and y axis in the graph configuration itself. I'm not sure how to create graphs when we're using groovy script with mongo db. Any simple example would help. Thanks in advance.