Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Currently I am going through this example and trying to insert values in pie chart (I have added that screenshot and want to show values & legend in the info window)

I am using ArcGIS Suit 10.1 and ArcGIS JSPAI version 3.5

What I have tried:

-Tried to insert values in media-info but it is not representing in pie-chart.

-Tried this dojo-example link

this is what I am trying to do in info-window :screenshot1

Any help regarding this will be great

Thanks in advance : )

share|improve this question
    
Going through similar question & looks like its not possible : ( gis.stackexchange.com/questions/44790/… –  Sunil Jul 20 '13 at 7:51
add comment

1 Answer

up vote 1 down vote accepted

This should be possible. You can put markup in the infotemplate, you could add a div and then programmatically write out your chart or whatever else you want to put in there. Post some functional code and I can give you more information.

https://developers.arcgis.com/en/javascript/jsapi/infotemplate.html

share|improve this answer
    
Thanks for your reply I will try this and let you know & I am using popup template not the info-window. –  Sunil Jul 20 '13 at 17:53
    
The same concept show work for the popuptemplate as well. –  CLJ Jul 20 '13 at 19:32
    
working on your link.. –  Sunil Jul 29 '13 at 9:43
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.