'PHPSpreadSheeet : change chart data range

I'm actually wondering about how could I modify a chart already in my excel file. I want modify through PHPSPreadSheet the data range, by example (I have multiples series so it is complicating the objective) :

=Evolution!$C$37:$C$40
to 
=Evolution!$C$37:$C$400

The only function I found on the samples (even not in the doc) is getChartByName, but nothing about how to change data range.

I didn't found anything on the doc and even on the samples about Charts in the github repository.

Does anyone have an ideo on how to change in PHP the data range of a chart?

Thank you for reading Respectfully



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source