![]() |
| OK - I'm there |
|
2onboard
|
follow up question
Do you know the default colors that CF uses for the color of each bar? (orange, green, blue, tanish, greyblue) If I had 5 cfchartseries, I could control the color, but just looping through 1 I don't. I can't user seriesColor as that applies the same color to all bars. I can't use colorList as that doesn't apply to bar charts. http://www.pfrentals.com/test.cfm |
||||||||||||
|
|
|||||||||||||
|
cfsearching
|
It is controlled by an xml file. IIRC, the default for bar charts is C:\ColdFusion8\charting\styles\default.xml . In the file it defines colors for series 0 through 27
You can make a copy of the xml file and customize the colors. Then place the xml file in one of your web directories and call it using cfchart's style attribute.
|
||||||||||||||||
|
|
|||||||||||||||||
|
2onboard
|
cool - thanks
THANK YOU! for all your time and help, believe it or not I did learn a thing or two |
||||||||||||
|
|
|||||||||||||
|
cfsearching
|
You are welcome. If you are ever curious about the charting engine CF uses, try out the built in WebCharts3D utility. It is an interesting tool.
C:\ColdFusion8\charting\webcharts.bat http://livedocs.adobe.com/coldfusion/8/htmldocs/graphing_06.html |
||||||||||||
|
|
|||||||||||||
|
2onboard
|
Unfortunatly, I don't think I have access to it, at least that is what a HostMySite tech support person told me once upon a time when I asked about it. I wish I did, I've used it in the past and it really helped.
|
||||||||||||
|
|
|||||||||||||
|
cfsearching
|
Yes, I would be very surprised if a host allowed you access to their copy. But you can at least test it locally. Assuming you have the CF8 developer version installed on your computer.
|
||||||||||||
|
|
|||||||||||||
| error with chart |
|
||
|


