Those sites helped a bit, but I'm still unsure of how to do this. To clarify, I'm trying to have one column in a datagrid entirely dedicated to being a "legend." Let's say Google (ticker GOOG) is in rows 7, 8, 9, and 10. I want cells 7, 8, 9, and 10 to have the same background color as the pie slice for GOOG.
Perhaps I could iterate through the pie chart and create an Object that has the Ticker and pie color information, then I could refer to that in the specific datagrid cells? Something like...if this row's ticker == GOOG, set this column's cell color = myObj.GOOG (which would be a hex color string).
Main Topics
Browse All Topics





by: zzynxPosted on 2009-01-26 at 04:57:05ID: 23466100
>> A way to dynamically determine the hex color chosen by Flex for a particular ticker in the array. om/2007/11 /11/changi ng-the-def ault- fill- colors-in- a-flex-pie chart-cont rol/ om/2007/11 /07/creati ng-custom- fills-in-a -flex-piec hart-contr ol-using-t he-fillfun ction- prop erty/
.com/2008/ 02/row-bac kground-co lor- in.htm l
No doubt you'll find these interesting:
* Changing the default fill colors in a Flex PieChart control: http://blog.flexexamples.c
* Creating custom fills in a Flex PieChart control using the fillFunction property: http://blog.flexexamples.c
>> A way to color the background of a cell in a Datagrid depending on that row's ticker symbol
Changing row background color in AdvancedDataGrid: http://flexpearls.blogspot