Hello,
I am fairly new to learning JavaScript but I have started using it in surveys when I need to do more complex calculations. I received a request from the client today and what they want to do is to generate a graph dynamically within the survey interface, as the user enters data for a cross section. It would ideally look something like this:
Is it possible to do this in Survey123 using JavaScript? (or any other solution?) I've read a little about the JSCharting but a more broad question is...is it possible to use libraries like this at all within Survey123?
Thanks in advance for any advice!
-Katherine
Solved! Go to Solution.
Hi Katherine
That is an interesting request.
I think your best bet would be to create a custom add-in for Survey123 https://developers.arcgis.com/survey123/guide/add-ins/#:~:text=To%20enable%20add%2Dins%2C%20go,Resta....
I have made a progress bar but your requirements is beyond that:
Regards
Deon
Hi Katherine
That is an interesting request.
I think your best bet would be to create a custom add-in for Survey123 https://developers.arcgis.com/survey123/guide/add-ins/#:~:text=To%20enable%20add%2Dins%2C%20go,Resta....
I have made a progress bar but your requirements is beyond that:
Regards
Deon
Thanks for the response, Deon! I've never done anything with Add-Ins before so I'll have to read up on it, seems like it could be a good solution.
As I mentioned, I'm still pretty new to using JavaScript within my surveys. Do you know the answer to my more general question about using libraries within the scripts section of S123 Connect? Or is that the point when I need to look into building custom Add-Ins, as you suggested?
Thanks!
Hey Katherine,
Did you ever figure this out? I'm hoping to do the same and can't find any documentation on it past this thread.
Thanks,
Emil
Hey Katie,
Did you manage to get this working? I'm looking to produce some graphs too
Hello! Unfortunately, no I had to drop this task and didn't have time to pursue it further. 😞