ChartJS Widget v1.2 06/18/2018

File uploaded by Adri2c on Mar 25, 2018Last modified by Adri2c on Jun 18, 2018
Version 3Show Document
  • View in full screen mode

Hi all, 

 

Simply share this ChartJS Widget with you. 

Chart.js is a community maintained open-source library that helps you easily visualize data using JavaScript. Display line and bar charts using your ArcGIS GeoServices. 

The Web App Builder 'dashboard' theme allows you to create graphics and filter them automatically when the map extension changes. The following widget that I created allows, in addition to this (line and vertical bar chart), to select any layer of the Web Map. Dojo class of ChartJS created, the creation of any type of graphic that the library allows is simple in this way.

Remember: Add ChartJS dependencies. How?

Demo

My GitHub  

 

Best

Since v1.1 => Code cleaned. 

Since v1.2 => Chart update; filtering the chart automatically when the 'extent-change' event fires

Attachments

Outcomes