Resources

SAS® AppDev Studio 3.0 Developer's Site

Pie Chart   About It Build It  

This example shows you how to create a basic Pie Chart component for display in a JSP.

See It

Basic PieChart

How It Works

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.