AnsweredAssumed Answered

Change color of TextSymbol

Question asked by vygintasc on Sep 12, 2014
Latest reply on Sep 12, 2014 by khutchins-esristaff

I am looking for a way to change the color of a text symbol when user clicks on it. So far I have tried the following code, but it doesn't work:

 

 

graphicsLayer.on("click", function (evt) {
  evt.graphic.symbol.setColor(new Color([0, 255, 255]));
}

 

 

Is there anything I'm missing?

Outcomes