setGradientColor method

void setGradientColor (
  1. Color startColor,
  2. Color endColor
)

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(ui.Color startColor, ui.Color endColor) {
  _gradientColor = GradientColor(startColor, endColor);
}