I want to add a a dojo stacked column chart to my InfoWindow (not pop up) that displays when a user clicks on a county in my map. The chart is based on land use information in each county layer from 3 different years.
Here is a link to my sample fiddle with the code I need help with: http://jsfiddle.net/jr_js_dev/HzUC7/1/
- My county Feature layer shows sometimes and doesn't show other times. Does anyone know why? When I enter in the sample layer from ESRI, the ESRI layer shows(http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/3"). But when I switch back to my layer, it doesn't show. (I checked, and the REST service for the layer I want works.)
- When my layer does show, I am able to click on a county, and an InfoWindow shows up with data based on the county layer and content set in the InfoTemplate. However, the stacked chart doesn't show up in the InfoWindow in the "chartNode" div I created for it. Anyone know how to get the chart to show in the InfoWindow?
Note: I created a test stacked column chart with sample data that displays how I want my chart to look in the InfoWindow as a example.