}
}
private void applyPropertiesToXYDataSet(XYRendererAdapter renderer, XYDataset dataSet, LineChartView view,
LineProperties lineProperties) {
DynamicXYGenerator dcg = new DynamicXYGenerator(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) {
renderer.setSeriesVisible(j, !hideSeries);