Common superclass for all BarChart DataModels to provide a "type"
of data model that can be assigned to a BarChart.
Usage
A BarChartDataModel can be assigned to an instance of the BarChart class.
Example:
// Get the TableModel
javax.swing.table.TableModel tableModel = <...>;
// Set up the Data Model
// BarChartTableDataModel is a subclass of BarChartDataModel
BarChartTableDataModel dataModel = new BarChartTableDataModel();
dataModel.setModel(tableModel);
dataModel.setCategoryVariable(new ClassificationVariable("Product"));
dataModel.setResponseVariable(new AnalysisVariable("Sales"));
// Associate the Data Model with a BarChart
BarChart barChart = new BarChart(dataModel);
Extending
This class provides a type for the BarChart's data models but is
only intended for internal subclassing.