Hi, Domonique,
Oviously I'm still screwing this up. I've disabled the animations on hover, just to make sure they don't interefere, and setting a binding for a ScaleFactor dependency property in the class. When I do this, it acts like the binding can't be found, and each symbol is being scaled to 1.0.
The scale code is below:
Graphic graphic = new Graphic()
int importValue = random.Next(1000000000);
double scaleFactor = (double)importValue / 1000000000; //median value
graphic.Attributes["IMPORT"] = importValue;
graphic.Attributes["EXPORT"] = random.Next(1000000000);
pieChartMarkerSymbol.ScaleFactor = scaleFactor;
graphic.Symbol = pieChartMarkerSymbol;
graphicsLayer.Graphics.Add(graphic);
One additional question: Does this set the scale on all of the PieChartMarkerSymbols in a given Layer? If so, that's not exactly what I'm looking for. I would like to set a different scale for each PieChartMarkerSymbol.
In any case, thanks for the replies. If you have any other pointers, I'd really appreciate them.
Thanks
Joe