docs: protected static JRDesignChartDataset createLineDataset(JRDesignGroup group, JRDesignGroup parentGroup, List vars, DJChart djchart) {
  		JRDesignCategoryDataset data = new JRDesignCategoryDataset(null);
  
  //		for (Iterator iterator = vars.iterator(); iterator.hasNext();) {
  			JRDesignCategorySeries serie = new JRDesignCategorySeries();
  //			JRDesignVariable var = (JRDesignVariable) iterator.next();
  			JRDesignVariable var = (JRDesignVariable) vars.get(0);
  			JRDesignVariable var1 = (JRDesignVariable) vars.get(0);
  			if (vars.size() > 1)
  				var1 = (JRDesignVariable) vars.get(1);
  			
  			//And use it as value for each bar
  			JRDesignExpression varExp = getExpressionFromVariable(var);
  			JRExpression varExp1 = var1.getExpression();
  			serie.setValueExpression(varExp);
  	
  			//The key for each bar
  			JRExpression exp2 = group.getExpression();
  	
  			JRDesignExpression exp3 = new JRDesignExpression();
  			int index = vars.indexOf(var);
  			AbstractColumn col = djchart.getColumns().get(index);
  			exp3.setText("\"" + col.getTitle() + "\"");
  			exp3.setValueClass(String.class);
  	
  			//Here you can set subgroups of bars
  			serie.setCategoryExpression(exp2);
  //			serie.setCategoryExpression(varExp1);
  	
  			serie.setLabelExpression(exp2);
  			serie.setSeriesExpression(varExp1);
  				
  			data.addCategorySeries(serie);
  //		}
  
  		setResetStyle(data, group, parentGroup);
  		return data;
  	}