Does anyone know how to dynamically add multi-lines into the line chart in EXt 4?

I mean I will have multiple lines shown in one chart and the total number of lines is not fixed.

I can't find any addSeries() or removeSeries() methods in the charts.

What is the best way of doing this?

Many thanks for your help!