Hello, I'm attempting to write a fillFunction for use with a plotChart that color codes dots based upon the value on a third field.
For example, a plot chart of individual's heights (xField) verus weight (yField) color coded by ethnicity. The examples provided in the Flex documentation use values of the xField or yField to control color selection. How does one use the value of a third variable to control color selection? I have created something that "kind of" works, but I have an AdvancedDataGrid displaying the data and when I sort in the AdvancedDataGrid, it messes up the index I use to color the dots. If anyone else has worked through this, I'd appreciate any insights you can offer.

