Dojo Line Chart

1871
2
04-22-2014 02:17 PM
Chang-HengYang
New Contributor III
Hi Everyone,

Thank you for your time in advance. The example shows how to make a pie chart to provide the query result. In this example, the pie chart was used to show the result. I am wondering if everyone has tweaked this example code and used the "Line Chart" to show your query result. Please share your web application and opinions.

Thanks,
Hank
0 Kudos
2 Replies
BradleySnider
New Contributor III
Hank,

It took a bit of searching, but I think I found what you are looking for in the Concepts tab of the JS API documentation.  In the sample you provided, the type object within the mediaInfos array is set to "piechart".  You will need to change this to "linechart", and then modify the value fields.

Here is the documentation: https://developers.arcgis.com/javascript/jshelp/intro_popuptemplate.html

I hope this helps!

Brad
0 Kudos
Chang-HengYang
New Contributor III
Hi Brad,

Thank you for the information. I will follow your instruction. I am wondering if you or anyone have made the line chart in your web application. Please share your information.

Thanks,
Hank
0 Kudos