You can't just print the arrName Arraylist like that. You have to build the https string dynamically. Since arrName contains the labels, you need to loop through it and construct the https string properly. For example:

Notice how the sLabels variable is populated by looping through the arrName ArrayList and getting its values.

You should do the same thing with the values. Look at the https string above and you'll notice "20,10,30". You should replace that with a variable (e.g. sValues). You'll also need another ArrayList (e.g. arrValues) to contain your values for the chart.