Related Table Chart Widget Modification

12-11-2019 11:50 AM
New Contributor III

I am hoping someone can suggest the JavaScript modification that would need to occur (WAB Dev) to make a small tweak to the Related Table Chart Widget.  If you configure a Bar Chart within the Related Table Widget, you can configure it to 1 and only 1 field. This looks exactly like I want it to, but represents only 1 field. My concept is that if I could add a drop down for the end user experience, they could change the field of the related table for the specific data point they have selected. The bar chart would update based on this new end user controlled change.  

The attached bar chart image is generated from the related table data for a specific field (defined in the configuration), based on a map click event on a data point. The end user cannot change what field is being referenced through this click. I could setup 10 different Related Table Chart Widgets, but this wouldn't be practical.

Please let me know if I need to elaborate more.

0 Kudos
0 Replies