Hi,
I am trying to add charts to my popups and was able to get the result from the image below:
but in my popup the chart just kept loading and refused to show up at all:
I'd appreciate it if anyone could shed some light on what I did wrong. Thanks.
Here is my Arcade expression:
Solved! Go to Solution.
I think its that mediaInfos should be an array since you can have multiple charts:
return {
type: "media",
attributes:Values,
mediaInfos:[{
type: "barchart",
title: 'Room type sqare footage',
value: {
fields: pieNames
}
}]
}
I think its that mediaInfos should be an array since you can have multiple charts:
return {
type: "media",
attributes:Values,
mediaInfos:[{
type: "barchart",
title: 'Room type sqare footage',
value: {
fields: pieNames
}
}]
}
Thank you! It works.
You just saved me from insanity...