protected void processModel(ChartModel model) {
boolean global = model.isEnableEvents();
for (int i = 0; i < model.getChartConfigs().size(); i++) {
ChartConfig config = model.getChartConfigs().get(i);
DataProvider provider = config.getDataProvider();
if (provider != null) {
provider.populateData(config);
}
if (global || config.isEnableEvents()) {
for (int j = 0; j < config.getValues().size(); j++) {
DataConfig data = config.getValues().get(j);
if (data != null) {