Delimited values and charts/graphs

I have values from my DB to populate charts and graphs.

X axis is the value
Y axis is the date.

The value is a ‘/’ delimited value. ie: value: ‘375/993’ where 375 is totalA and 993 is totalB

How can I separate these two?

I have tried value.split(’/’)[0] and value.split(’/’)[1] using Filters on a stacked bar chart but I am not having any luck.

Thanks!

Nevermind! I found that you can transform the JSON after an API call. Very nice!

1 Like