Chart and colors?
rene
Prague, Czech Republic, Europe
Hi there,
I would like to know how to change the default color used in pie charts. It seems like FR hide and ignore all the TChartXXX properties like ColorSource (which will be very usefull - actually I have colors stored in DB, so I can get them in SQL) or array of color in ValueColor[] property. Is it possible to set my own colors for Pie some other way? Any idea? I suppose that some changes in frxChart will fix this issue. Does anybody tried to solve this already?
Thank you for any response,
Rene
I would like to know how to change the default color used in pie charts. It seems like FR hide and ignore all the TChartXXX properties like ColorSource (which will be very usefull - actually I have colors stored in DB, so I can get them in SQL) or array of color in ValueColor[] property. Is it possible to set my own colors for Pie some other way? Any idea? I suppose that some changes in frxChart will fix this issue. Does anybody tried to solve this already?
Thank you for any response,
Rene
Comments
my solution is in change of definition of object "TfrxPieSeriesHelper" in standard unit "frxChartHelpers" (OK, this is not the best solution, but it works) this way (mind the +/- rm tags):
In my opinion is it very simple and usefull change with no harm to standard code of FR3.
Enjoy it,
Rene
PS: If FR team consider to use it in next release/update of FR3, it will be great. (At least I will avoid some merging problems during upgrades.)