}
}
private void applyPropertiesToCategoryDataSet(LineAndShapeRenderer renderer, CategoryDataset dataSet,
LineChartView view, LineProperties lineProperties) {
DynamicCategoryGenerator dcg = new DynamicCategoryGenerator(view, lineProperties.getDynamicCondition());
ChartModel chartModel = view.getChart().getModel();
if (chartModel == null)
return;
Series[] series = chartModel.getSeries();
if (series == null)
return;
for (int j = 0; j < series.length; j++) {
if (!dcg.generateCondition(dataSet, j, 0))
continue;
Boolean hideSeries = lineProperties.getHideSeries();
if (hideSeries != null) {
boolean seriesVisible = !hideSeries;