<% /* In this example, we first present a form to the user, to input data. For a demo, we present a very simple form intended for a Restaurant to indicate sales of its various product categories at lunch time (for a week). The form is rendered in this page (Default.jsp). It submits its data to Chart.jsp. In Chart.jsp, we retrieve this data, convert into XML and then render the chart. */ //So, basically this page is just a form. %>

FusionCharts Free Form-Based Data Example

Please enter how many items of each category you sold within this week. We'll plot this data on a Pie chart.

To keep things simple, we're not validating for non-numeric data here. So, please enter valid numeric values only. In your real-world applications, you can put your own validators.

Soups:   bowls
Salads:   plates
Sandwiches:   pieces
Beverages:   cans
Desserts:   plates
 

« Back to list of examples