Clustering script - display singles with their own symbology by default?

Discussion created by tligon on Jun 18, 2013
Latest reply on Dec 9, 2013 by digy79
I added a function to the cluster script to set single graphics with their own symbol based on an attribute value. When I set "showSingles" to true and click on a cluster, the singles are displayed on the map with the individual symbols assigned to each graphic (instead of just one symbol for every single).

What I want to do is display the unclustered singles with their own symbols instead of the cluster layer renderer value for singles. I tried leaving the "0, 2" break value out of the renderer, but that gives the singles no symbol. The best solution would be to create a unique value renderer as the first break value of the cluster layer's renderer, but I'm pretty sure I can't embed a renderer as a renderer value.