Thematic layer using feature layer and renderer

Discussion created by steve_li on Jan 4, 2012
I am creating a thematic layer represent crime count by county (county shaded different color based on the count).  I am planning using feature layer with renderer.  But the values for renderer will not be from the feature service, values will be calculated dynamically on the client based on user search criteria.

How do I do that?  Is there a place I can intercept featureset returned from feature service, and set values there?