I am working on hydrological data and have a feature layer of weather stations and am using experience builder. Now, I have to add a functionality such that the time series chart of precipitation in a weather station appears when I click on a weather station point in the map. There are a number of weather stations and for each station I have csv data with date and precipitation fields.
I tried joining the csv with the feature layer and am able to show the time series of precipitation for all the stations in a single chart using the chart widget, but I am not able to show the chart for a certain weather station when that is selected in the map. I tried using message action for it and chose select data records as a trigger, but I couldn't find the chart widget in add action tab. I am afraid we cannot use chart widget as an action. I am not sure about that.
Is there any way to do it? Should I use developer's tool for it?
Or is there another app to do it easily? I first tried using dashboard but shifted to experience builder because of its multiple features. But I am stuck now. I have used ArcGIS since a lot of years, but I am new at dashboards and experience builder.
Try setting up a Record Selection Changes > Framework > Filter Data Records Action in your Map Widget. This should filter your Chart to just the selected stations. You may also want to set your Chart up on a Data View and filter this View instead of the Default View, so you can filter the Chart without affecting anything else in the project.