* Line: Make sure control points are re-calculated
* Radar: always set point on update
const labels = meta.iScale.getLabels();
// Update Line
+ line.points = points;
// In resize mode only point locations change, so no need to set the points or options.
if (mode !== 'resize') {
const properties = {
- points,
_loop: true,
_fullLoop: labels.length === points.length,
options: me.resolveDatasetElementOptions()
}
set points(points) {
- this._points = points;
- delete this._segments;
- delete this._path;
+ const me = this;
+ me._points = points;
+ delete me._segments;
+ delete me._path;
+ me._pointsUpdated = false;
}
get points() {