I have an esri javascript map. I have an array of {lat, lng, id}. I create a point with the lat, lng, and a symbol, then create a Graphic. I add these items to the map using esriView.graphics.add(pointGraphic).
When I click the graphic, (which is a small blue circle), I'd like to change the blue to red. However all that happens is I click the circle and my popupTemplate comes up.
How do I change the color of the selected graphic? I feel like this should be easy, but I can't find the answer anywhere.