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?

#13203

Bivek Singh
Moderator

DavisB,

Please refer this jsFiddle

I’ve used URL as a string variable but you can fetch it from URL using location.search i.e.

var url = location.search;

Bivek,
Team CanvasJS