TrendlineRenderer constructor

TrendlineRenderer(
  1. Trendline _trendline
)

Creates an argument constructor for Trendline renderer class

Implementation

TrendlineRenderer(this._trendline) {
  _opacity = _trendline.opacity;
  _dashArray = _trendline.dashArray;
  _fillColor = _trendline.color;
  _visible = _trendline.isVisible;
  _name = _trendline.name;
}