int rowCount = ds != null ? ds.getRowCount() : 0;
ConfigurableRenderer configurableRenderer = (ConfigurableRenderer) renderer;
configure(chartView, configurableRenderer, ds, rowCount);
final GridCategoryPlotAdapter gridCategoryPlot = new GridCategoryPlotAdapter(ds, renderer, chartView);
initMarkers(chart, gridCategoryPlot);
return gridCategoryPlot;
}