Pie Chart |
This example shows you how to create a basic Pie Chart component for display in a JSP.
This example uses a <sas:PieChart> custom tag structure to create a Pie Chart and assign axis labels to the chart. For the data source, it uses servlet code to get a JDBC connection to SAS data, builds a relational data model with a JDBCToTableModelAdapter, and then assigns the adapter to a PieChartTableDataModel.