shepa006

popup charting using tabs and labels

Discussion created by shepa006 on Jul 29, 2013
Latest reply on Jul 30, 2013 by evtguy
I'm setting up some popup templates and was thinking of using the mediainfos option to include charts along with the description (the description section will really include raw data not represented in the chart). I have the data and charts coming through into the popup but the two things that I can't figure out how to do are:

1) display labels along the chart axis. So if we look at the popup charting sample, https://developers.arcgis.com/en/javascript/jssamples/popup_chart.html I would be looking for a way to display the label from fieldInfos along the axis so that the user doesn't have to hover over the graph to see what it's showing. I know that dojo charting allows for control of dropLabels and Axis Label Shortening but I don't know how to configure that when using the popup mediaInfos.

2) have the description in one tab and the mediaInfos in another tab. also, the popup will be returning results from multiple layers..

Outcomes