public void addColorsForDataSets(ArrayList<Integer> colors){
  for (int i=0; i < colors.size(); i++) {
    ArrayList<Integer> clrs=new ArrayList<Integer>();
    clrs.add(colors.get(i));
    addDataSetColors(clrs);
  }
}

public void addColorsForDataSets ( ArrayList < Integer > colors ) { for ( int i = 0 ; i < colors . size ( ) ; i ++ ) { ArrayList < Integer > clrs = new ArrayList < Integer > ( ) ; clrs . add ( colors . get ( i ) ) ; addDataSetColors ( clrs ) ; } }
adds colors to the colortemplate . each of the colors will create a new dataset color array in the template with just one color . this is especially useful when you want each of your datasets only to be represented by one color and not multiple .
