Hi,
I used cfchart and cfchartseries to draw the graph and I got it. Thanks everybody for helping.
Glad you got it working and by yourself too. Well done!
Now I need to get an excel sheet with data of the query when the user clicks on the graph. How can I do that? I found out how to get data in excel sheet but how to get it when user click on the graph? Please advice me?
If you can get data into an excel sheet using Coldfusion (or some other language), you can link to the url using (I think) the url attribute of the cfchart* tag.