Create respective charts you want to embed and get their IDs (via Single Configurator). Every chart must relate to the id field as Mike Tarallo has shown in his video (i.e. it must have the Set Analysis with this id wihtin the charts measure).
Create a variable vEMBEDDEDCHART_ID
Add this variable into your script within the Info Bubble like this:
Now you should be able to see the selected chart embedded into the map.
2. Drill down by the mouse move
This example relates to a data model having 4 geo areas: whereby A1, A2, A3, A4 are your area fields hanging together in your data model in an appropriate way (example: if A4 is your zip-area, then every A4-value can be referred to certain single A3, A2 and A1 area.
Example for Germany: A1 as Bundesland, A2 as Regierungsbezirk, A3 as Kreis, A4 as PLZ
Steps to do:
Dimension: DrillDown Dimension containing 4 areas (each field is a geo polygon data)
Measure: any, for example UnitsSold
SCRIPT within Area Layer Info Bubble (everything between <script> and </script> must be one code line only – here in example it is outlined for better view)
Move your mouse over certain geo area: if everything goes fine you must be able to see the embedded chart containing data for the subarea of the area where you’ve just positioned your mouse (please see screenshots attached).
Any other ideas, suggestions, critic are more than welcome.