|| valType != model.getValueType()) {
throw new IllegalArgumentException(
"Data model is not valid for this chart type.");
}
data.put(model.export());
} catch (IOException ex) {
throw new FacesException(ex);
}
} else if (target instanceof AbstractChartXAxis) {