Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
eliasobr #1
cfchart with pie percents
Here's an example of the code....
<cfchart format="flash" labelformat="percent" >
<cfchartseries type="pie" datalabelstyle="value" query="qMsg2"
itemcolumn="realname" valuecolumn="times" serieslabel="Times"></cfchartseries>
</cfchart>
BTW, I work at a web house where we've employed pie charts with percents many
times. It is tied to the MX 7 upgrade. Any answers out there?
eliasobr Guest
-
cfchart on cf mx 7
Hello Until today, my cfchart tag has been working fine. However, today when creating a cfchart im getting this error in the application.log... -
cfchart
I have some financial templates where I use cfchart. If I use the png or jpg format the pages take about 27 seconds to load. If I use the flash... -
CFChart as JPG
Greetings, I am producing a chart (JPG) for people to use an a document, however you can't right click and save Image. Is there a way to do this.... -
CF7 cfchart
Can a Gantt chart be created with version 6.1? -
Cfchart in Mx7
Hello, I've installed Coldfusion Mx7 mainly for the PDF generation. The problem is for the chart I've created in previous version. An example is... -
MikerRoo #2
Re: cfchart with pie percents
You need to post some actual data. This may not be a coldfusion problem at
all. For example, if the data is (33.3%, 33.3%, 33.4%), this could be
displayed as 33%, 33%, and 33% -- which does not add up to 100%.
MikerRoo Guest
-
eliasobr #3
Re: cfchart with pie percents
OK, I understand what you're saying. I didn't present my message very clearly.
What I was trying to say is that it doesn't even come close to adding up to
100%; You'll have some that are 1200%, 1000%, 500%, etc. This was working
just fine before the CF 7 upgrade. Here is another example (which is with a
past company). [url]http://www.selfoodsales.com/subCobr/getStarted.cfm[/url]
I would show the current pages, but they are behind a firewall which I can't
control. Anyway, poing being, I (as well as other developers) had pie -
percents working just fine until the CF MX 7 upgrade, and now it is spitting
out these undesirable results. Your thoughts?
eliasobr Guest
-
MikerRoo #4
Re: cfchart with pie percents
Sorry, I've had my own problems with CFChart. I guess I was hoping this was an
easy one. Anyway, it looks like you are sending values and expecting them to
be converted to percents? For example, on your example page, 2000 units is
about 33% and that looks to be about the size of the pie slice. So, you're
using labelFormat='Percent' and that used to work but doesn't now? If that is
true, then it sounds like a bug to me. You should file a bug report. I know
that the Webcharts3D engine supports $(colPercent) -- which does what you
probably want. You can use the Webcharts3D designer to create an XML style.
Set the 'Datalabels' property to 'pattern' and then use a pattern of
'$(colPercent)'. The wecharts designer is in your CF install directory usually
'C:\CFusionMX7\charting\webcharts.bat'. Good Luck. -- MikeR
MikerRoo Guest
-
eliasobr #5
Re: cfchart with pie percents
Cool, that actually corrected the problem! The webcharts designer was easy to use, and was flexible enough to allow for customized attributes. Thanks a bunch. Cheers.
eliasobr Guest



Reply With Quote

