We are writing with reference to the example of generating a client side chart for an image service as per the following sample (ImageryLayer - client side chart ).
Essentially we wold like to use this feature with an uploaded shapefile rather than a mouse event (click & drag).
We were referring to the following sample (Feature Layer from Shapefile ) where a a feature layer is created from an uploaded shapefile.
It seems the following snippet returns the feature layer and draws them on the map :
It seems that the Feature Layer from shapefile adds a feature collection to the map. Considering that the featurecollection is a graphic like the buffer polygon within the following sample (ImageryLayer - client side chart ), is it possible to use the outline?