setGradientColor method

void setGradientColor (
  1. Color start,
  2. Color end
)
override

Sets the start and end color for gradient color, ONLY color that should be used for this DataSet.

@param startColor @param endColor

Implementation

void setGradientColor(Color start, Color end) {
  if(start != null && end != null) {
    super.setGradientColor(start, end);
    setGradientFilled(true);
  }
}