I want to know if I can create an array of XYChart.Series<String, Number>
on JavaFX?
Because I need to create a XYChart.Series
for each person on database, and I tried to make an array of XYChart.Series<String, Number>
for my LineChart
but I couldn't.
This is what I tried:
List<XYChart.Series<String, Number>> seriesList = new ArrayList<XYChart.Series<String, Number>>();
Because I had no idea how to do it otherways.
Can you please help me?