SalsaDAOFactory salsaDAOFactory = (SalsaDAOFactory) factory;
AbstractKey scanResult1DKey = new ScanResult1DKey(factoryClassName);
AbstractDAO<List<DataArray>> dataArrayDao = salsaDAOFactory
.createNumberDataArrayDAO(scanResult1DKey);
ScanResult1DDAO scanResult1DDAO = (ScanResult1DDAO) dataArrayDao;
scanResult1DDAO.setXAxisComponent(xAxisComponent);
List<String> yAxisComponents = new ArrayList<String>(y1AxisComponents.size()
+ y2AxisComponents.size());
yAxisComponents.addAll(y1AxisComponents);
yAxisComponents.addAll(y2AxisComponents);
scanResult1DDAO.setYAxisComponents(yAxisComponents);
if ((scanResultController != null) && (scanResultController.getView() != null)) {
scanResultController.getView().configureY1AxisList(y1AxisComponents);
scanResultController.getView().configureY2AxisList(y2AxisComponents);