Home forums Using CanvasJS How can I gather URL parameters to use in a pie chart? Reply To: How can I gather URL parameters to use in a pie chart?

#13181

DavisB
Member

This is my query string I am trying to gather the data from: ?q1=0&q2=75&q3=25&q4=25&q5=50&q6=75&q7=25&q8=50&q9=0&q10=100&q11=75&q12=0&q13=0&q14=50&q15=25&q16=25&q17=75&q18=0&q19=25&q20=0&q21=50

I want to gather just the Number values and then average them into a canvas js pie chart. for some reason I can’t seem to get just the values.

Any suggestions?