%@ Language=VBScript %>
FusionCharts Free - Form Based Data Charting Example
<%
'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.asp). It submits its data to
'Chart.asp. In Chart.asp, we retrieve this data, convert into XML and then
'render the chart.
'So, basically this page is just a form.
%>
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.