How to create a 3D Chart in ColdFusion

cfchart - 3d chart

cfchart3D.cfm


<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>cfchart tag: how to use 3d chart in coldfusion</title>
</head>

<body>
<h2 style="color:Crimson; font-style:italic">cfchart example:  how to use 3d chart</h2>
<hr width="700" align="left" color="LightPink" />
<br />

<cfquery name="qEmployee" datasource="cfdocexamples" maxrows="10">
 SELECT FirstName, LastName, Salary FROM EMPLOYEE
</cfquery>

<cfchart 
    format="png"
    xaxistitle="First Name"
    chartheight="400"
    chartwidth="700"
    yaxistitle="Salary"
    showlegend="no"
    backgroundcolor="E9967A"
    labelformat="currency"
    foregroundcolor="FFFAFA"
    fontbold="yes"
    show3d="yes"
    databackgroundcolor="FF4500"
    font="Verdana"
    fontsize="13"
    showxgridlines="no"
    showygridlines="yes"
    >
    <cfchartseries 
     query="qEmployee" 
        type="curve" 
        itemcolumn="FirstName" 
        valuecolumn="Salary"
        >
    </cfchartseries>
</cfchart>
</body>
</html>





More ColdFusion examples