Radar Chart / String vs List Issues

I’m using the Air Chart Pro Radar chart and need to format my data into a comma-separated string within a single data type (e.g., 12, 5, 3, 6, 10).

The data is saved incrementally based on user responses from a quiz (e.g., Question 1 = 5, Question 2 = 7, etc.). Each answer is dependent on the user’s selection.

What workflow should I use to save these answers as a comma-separated string so that my Radar chart can properly read the data?

P.S. The outer elements of the Radar chart are fixed, so that’s not an issue.

simple!

Search for Things: formatted as text
Content: Start your object the way you want it, then add your key/value pairs or just an array of strings. Whatever you need. Refer to “This item”.

Delimiter: Inside, use ", " as the splitter. This will give you a comma and a space after each item.

image
Should look something like this.

This will output:

{"item1","value"},{"item2","value"}

And of course you can format it that you want:
item1,item2,item3,… etc.

Doing this will allow you to turn any of your “things” into your own custom object.

Here is a tutorial video explaining it a little more:

Note this tutorial is meant to show how you make contextual objects, but the same principle of creation applies.

1 Like

This is great. Thank you, I will play around with this later this afternoon and get back to you.

1 Like

This a great solution, and maybe it is the plug-in that is the problem, but I am running into the same issues. See attached.

Ah. Let me try something.

Got it to work.

Use arbitrary text as your entry-point, then inside of it:

BTW: You will NOT WANT TO SEARCH FOR ALL YOUR VALUES. Make sure you have your values cached or already loaded somewhere else before rendering the data otherwise you will run into WU issues with this method.

Still getting the same error. I did notice you are using a different Radar chart plug-in than I am. Which one are you using?

The radar chart I’m using requires a list of numbers to function properly. This leads me to believe that I should save the quiz results as a single list of numbers, rather than saving each result as an individual item. Is that possible?

Not sure. The free one. You may have to convert your list of numbers. If the plugin doesn’t exist, I’ll make it quick for you.

The free one is substantially easier to work with, while not as flexible as the expensive one, but at least it works. I really appreciate all of you help.

Here you go!

Try this out.

I just did arbitrary text:

This will return an array of numbers, in which you will need to set the state of somethings afterwards. Once that’s done, you can refer to that state.

You’ll ideally want to do this on page load or whenever you’re loading your data.

Its really amazing you did this. I’ll play around with it today.

1 Like

No problem. Hope it works the way you need!

This topic was automatically closed after 69 days. New replies are no longer allowed.