super("Test Chart Viewer");
setMinimumSize(new Dimension(600, 600));
setDefaultCloseOperation(EXIT_ON_CLOSE);
TableModel data = new SampleDataGenerator().generate();
BarLineChartTableDataModel model = new BarLineChartTableDataModel(data);
BarLineChart chart = new BarLineChart(model, new GraphStyle(GraphStyle.STYLE_MAGNIFY));
model.setCategoryVariable(new ClassificationVariable("LOT_ID", 10406));
model.setLineResponseVariable(new AnalysisVariable("ATT1", GraphConstants.STATISTIC.valueOfName("STATISTIC_MEAN")));
model.setLineResponse2Variable(new AnalysisVariable("ATT2", GraphConstants.STATISTIC.valueOfName("STATISTIC_MEAN")));
getContentPane().add(chart, BorderLayout.CENTER);
}