Select to view content in your preferred language

Trying to configure a 'No Data' label in a serial chart so that it changes based on user selection

87
1
Thursday
Labels (1)
Hamster_On_Coffee
New Contributor

Hello! I'm building a dashboard that displays stormwater quality data and impervious cover data for each town in my state.

For towns that have stormwater data to share, I have a series of serial charts that display the data. This data is filtered by a list of towns that users can select from to get the data specific to the town they chose. 

For towns that aren't required to monitor their stormwater quality and have no data as a result, I changed the 'no data' label to 'not required to monitor'. Now this is where my question comes in: it has come to my attention that one of the towns has a special case and is required to monitor, yet there's no data to share. What I want to do is put in some kind of conditional statement or if/else statement in the 'no data' label editor to make it so this one town gets a different 'no data' message than the others. 

I know about the 'source' function in the 'no data' label editor and have tried that, but it looks like html, and I'm not sure I can do what I'm trying to do with html. I am a complete coding novice for what it's worth, but I'm trying to learn.

I'd share screenshots, but I'm doing this for my state's government and my Esri account for them doesn't give me permission to post on the Esri forums, so I'm posting from my old school account.

Is what I'm trying to do possible within this framework? Thanks!

0 Kudos
1 Reply
Neal-Kittelson
Frequent Contributor

Can you add a field in your "towns" layer and classify them according to there monitoring status?  That might be the easiest solution.  Not an html expert but html is a markup language and not coding language and doesn't support conditional statements on its own. You can probably do something in Arcade though. 

0 Kudos