Book Image

Mastering ArcGIS Server Development with JavaScript

By : Raymond Kenneth Doman
Book Image

Mastering ArcGIS Server Development with JavaScript

By: Raymond Kenneth Doman

Overview of this book

Table of Contents (18 chapters)
Mastering ArcGIS Server Development with JavaScript
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


Both dojox/charting and D3.js have their advantages and disadvantages in our web mapping applications. The dojox/charting library comes with the ArcGIS JavaScript API, and is easily integrated with existing applications. It provides many themes that can be added quickly. On the other hand, D3.js works with HTML elements and CSS styling to create eye-popping effects. It offers more data visualization techniques than dojox/charting and offers customizable appearances using CSS styling. Your final choice may come down to your comfort level with these tools and your imagination.

In this chapter, we have learned how to incorporate graphs and charts in to our ArcGIS JavaScript API applications. We used graphics libraries provided by the Dojo framework, which created graphics based on data from map features. We also used D3.js to render charts and graphs in our application. In the process, we learned how to load and access other libraries in Dojo's AMD-based applications.

In the next chapter...