Remove a line from the chart by index.
All father references in sibling lines are updated:
father
-1
The RPE chart (modified in place).
Index of the line to remove.
The chart (for chaining).
removeLine(chart, 2); // removes line at index 2 Copy
removeLine(chart, 2); // removes line at index 2
Remove a line from the chart by index.
All
fatherreferences in sibling lines are updated:-1(no parent).