Select to view content in your preferred language

popup charting using tabs and labels

1046
1
07-29-2013 10:29 AM
JustinShepard
Deactivated User
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..
0 Kudos
1 Reply
SteveCole
Honored Contributor
I don't think MediaInfos charts provide the options that you're seeking. I think you'll need to do something along the lines of this sample which exposes the full set of dojo charting options.

Steve
0 Kudos