Select to view content in your preferred language

Stacked Bar Chart based on multiple fields

1842
2
01-09-2023 07:51 AM
Labels (1)
miller_ma
Occasional Contributor

Making a dashboard. Trying to couple a chart with a map, using layer actions such that selecting the map changing the outputs in the chart. (Got that to work). Issues now is that I'd like to do the same thing for a bar-chart. Making a bar-chart I can do. But the bar-chart seems to require that all the data come from a single field/column, while the my data in the hosted feature layer is in multiple columns. (I'm trying to do a bar-chart of all 20 NAICS industry employment categories, for reference).

This  says that "A chart can represent the attribute values of a single field, aggregated values for multiple fields" but also says "A bar or column chart can even represent the attribute values of multiple fields as clustered bars and columns" suggesting that clustered bars can be done, but not stacked bars.

There are some murmurs I need something called an Dashboard Arcade Expression, of which I know nothing.

0 Kudos
2 Replies
miller_ma
Occasional Contributor
0 Kudos
ttw_marine
Emerging Contributor

I'm not sure if we are looking for the same thing, but this solution just helped me to produce a stacked bar chart based on multiple fields in a dashboard, using Arcade. Might be worth a look: https://community.esri.com/t5/arcgis-online-questions/creating-a-serial-chart-in-dashboard-using-arc... 

0 Kudos