Hi Partheeban,
For the PCoQuery, to get a one hour average for each of 24 hours in one day:
In the Date Range settings: set the Start Date and End Date for a 24 hour period. if you just want the current 24 hour period ending with the current time, leave both empty and set the Duration value to 1 and Duration Units to Days. If you want a weeks worth of data, set Duration value to 7.
Then sTag Aggregate Query settings, chose the tag(s) to query and check Average from the Aggregates selections. then execute your query and you should get back 24 rows of one hour averages for each day in your date range.
Regards, Steve