Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
chris@nvt #1
cfchart help
I'm using the following to try to generate a pie chart. The first query is
taking the types of roles available and the second query is supposed to get the
answers. I am getting a list of the available roles, however, it is not
generating the answers in pie chart...any ideas? CF MX 6.1 W2K Server
<cfquery name="theseRoles" datasource="#dsn#" dbtype="ODBC">
SELECT *
FROM survey_Roles
ORDER BY RoleID
</cfquery>
<tr>
<td align="center" colspan="2" style="border-left: 1px solid
rgb(0,0,0); border-Right: 1px solid rgb(0,0,0); border-bottom: 0px solid
rgb(0,0,0); border-Top: 0px solid rgb(0,0,0)">
<table border="0" bordercolor="000000" cellpadding="5"
cellspacing="0" width="100%" height="300">
<tr>
<td align="center" valign="top" class="Fontsm1">
<cfif #theseRoles.RecordCount# is not 0>
<cfchart format="flash" xaxistitle="Role" yaxistitle="Total">
<cfchartseries query="theseRoles" type="pie" itemcolumn="Role"
valuecolumn="#theseRoles.RecordCount#">
<cfloop query="theseRoles">
<cfquery name="thisRole" datasource="#dsn#" dbtype="ODBC">
SELECT *
FROM survey_Results_CompanyInfo
WHERE customer_Role = '#RoleID#'
</cfquery>
<cfchartdata item="#theseRoles.Role#"
value="#thisRole.RecordCount#">
</cfloop>
</cfchartseries>
</cfchart>
</cfif>
</td>
</tr>
</table>
</td>
</tr>
chris@nvt Guest
-
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... -
Anyone using cfchart?
I had this posted over on general cfml but didn't get any responses. Is anyone using cfchart? I have been running Coldfusion 5 until last week... -
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...



Reply With Quote

