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