I am using Robert's eSearch Widget to bring in some ACS census data in certain areas. Graphically, it displays the results like this:
Lets say I wanted to display the race results as a pie graph. I can easily use `(Math.floor((Total Pop/RacialGroup) * 100).toFixed(1) + "%"); ` or something like that to get the percentage> I have no idea how I could create and insert a small pie graph in the Results under Race to display. Currently, I am using the following to display the results in the widget.js.
So, I am thinking that I need to perhaps look to layerConfig inthe config_eSearch.json perhaps to set something like this up. Any ideas or suggestions?
There is currently no support or any plans to support graphing in the eSearch results. This would be a pretty involved undertaking so I don't even have any suggestions about this at the moment.
You can link eSearch to the out-of-the-box Infographic widget in Web App Builder.
For example I linked eSearch for Parcels to Infographics for sale price, land value and real estate value. Seemed kind of similar, does that sound useful?
(I re-named the Infographic widget and gave it a custom icon and cloned it for each of these three chart types)
I am trying to do basically the same sort of thing.
How do I link the results from the eSearch Widget to open the Infographic Widget
automatically from the selected results?