![]() |
![]() |
||||||
|
|||||||
| Tags: |
![]() |
|
|||
|
I saw numerous posts on here and other forums about how the 'scaleto' attribute
in cfchart doesn't work right in CF7. But, I'm having the same problems with CF8. It still hasn't been fixed? I'm following along with Ben Forta's CF8 WACK in chapter 16 listing 16.4. The data is from his ows database. There is actually an error in his code, where the 'scaleto' is set to 1500000, but the highest value from the database goes to '800000000', so I changed the 'scaleto' to '1000000000'. The crazy thing is, figure 16.4 in the book shows the upper limit at 1 billion, just like it's supposed to work, but it doesn't work for me. I saw another post that said it worked fine when they removed the labelformat="currency" attribute, and sure enough, when removed it works just fine (albeit without the proper formatting). Does Adobe plan on ever actually fixing cfchart in any CF release? I'm using: CF801 developer edition on Vista (sp1) and the CF8 internal web server. The code is below, but I'm assuming others have this book and have tried it? Anyone else still having issues with 'scaleto' in CF8? <!--- This defines the size and appearance of the chart ---> <cfchart chartwidth="750" chartheight="450" yaxistitle="Budget" <!--- 3D appearance ---> show3d="yes" xoffset=".04" yoffset=".04" <!--- Fonts and colors ---> showborder="yes" foregroundcolor="003366" backgroundcolor="99dddd" databackgroundcolor="66bbbb" tipbgcolor="ffff99" fontsize="11" fontbold="yes" fontitalic="yes" <!--- gridlines and axis labels ---> scalefrom="0" scaleto="1000000000" gridlines="6" showygridlines="yes" labelformat="currency"> <!--- within the chart ---> <cfchartseries type="bar" seriescolor="green" serieslabel="Budget Details:" query="chartquery" valuecolumn="amountbudgeted" itemcolumn="movietitle" paintstyle="light"> </cfchart> |
| Sponsored Links |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
- Contact Us
-|-
Adobe Dreamweaver Forums -|-
Archive -|-
Top -|-Rules/Disclaimer-|-Help/Support-|-Advertise