AnsweredAssumed Answered

Missing polygons when drawing featurelayer using a classbreaksrenderer

Question asked by schlot on Apr 24, 2014
I have a featureLayer with several different attributes.  I'd like the user to be able to choose a category and a year and based on that selection generate a classbreaksrenderer on the values of that field.  I'm still at AGS 10.0, so I've to do this manually, I can't use a generateRendererTask. 

I have a function called generateClassBreaks that I call on the map on layers-add-result.  It creates the definition for the renderer and then applies it to my featurelayer.

My problem is that when my layer first comes up, it doesn't draw all the polygons.  If I pan or zoom, then I see the rest of them.  I'm thinking I'm calling the function for the generateClassBreaks at the wrong point.  Should it maybe be on the load event of the featurelayer instead?  I've tried both and it doesn't seem to make a difference.