gradient property

Gradient? gradient
final

If provided, this LineChartBarData draws with this gradient. Otherwise we use color to draw the background. It throws an exception if you provide both color and gradient

Implementation

final Gradient? gradient;