Hello,

Is there any simple way to add a bar chart in jsp, I have a question and answers tables for a survey and I want to show the result for it like this:

QuestionText.............................Result

aaaaaaaaaaa............................Yes 70% ------------
...............................................No 30% -----

Can anyone Help Me....

yup. At least 2 ways.
1) generate a bitmap using something like JFreeChart from a servlet that you link to through an image tag.
2) generate it as text using some CSS magic to make it look nice.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.