Custom symbol that renders differently based on attributes?

Discussion created by delies on Dec 14, 2010
Latest reply on Dec 22, 2010 by menacekop
I want to render features using something similar to the ClassBreaksRenderer, but instead of discrete breaks, I want a smoothly sliding scale.  I accomplished this in the Flex API by creating a custom Symbol which had a different color based on an attribute value.  I'm brand new to the javascript API, (and not too experienced with Javascript in general -- I come from a Java background), and I'd like to know how to do something similar with Javascript.  Is this possible?  I've been told that Javascript is classless, so I'm not clear on what the objects (Layer,Symbol,etc) really are.  Any help would be greatly appreciated!