Hi , we have a requirement to implement charts in jsp. in jsp we are getting data based on search page the user given. Example if user want to see the employee from different locations worked around the world in his company. i have to represent the data in pie and bar charts in jsp. i am getting the data in List object of employee. i don't know how to get the data for that charts. give me some example it will be helpfull for me.
Tim Moores
Rancher
Joined: Sep 21, 2011
Posts: 2329
posted
0
Does it have to be Google charts? If yes, there are examples on its web site. You might also want to look into the Java library Eastwood (from the maker of JFreeChart) - it's a Java web app that implements the Google Chart API (in case you'd rather have control over chart-making instead of ceding that to Google). There's also a JSP tag library called cewolf (on SourceForge) that can generate charts.
i just have my jsp and list in the session i am not getting how to pass those perameters and data to google charts
Tim Moores
Rancher
Joined: Sep 21, 2011
Posts: 2329
posted
0
Have you gotten any of the examples to work? Which example are you trying to follow to get your stuff to work? I'm getting the impression that you haven't really familiarized yourself with the API; that should be the next step.