setColors1 method

void setColors1 (
  1. List<Color> colors
)

Sets the colors that should be used fore this DataSet. Colors are reused as soon as the number of Entries the DataSet represents is higher than the size of the colors array. If you are using colors from the resources, make sure that the colors are already prepared (by calling getResources().getColor(...)) before adding them to the DataSet.

@param colors

Implementation

void setColors1(List<ui.Color> colors) {
  this._colors = colors;
}