toChartValues

Method to create a list to use in the chart

Return

the list to use in the chart as List of Int