CFchart - Chart series paint style in ColdFusion

cfchart - paintstyle property in cfchartseries

cfchartpaintstyle.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 paintstyle property in cfchartseries in coldfusion</title>
</head>

<body>
<h2 style="color:Tan; font-style:italic">cfchart example: how to use paintstyle property in cfchartseries</h2>
<hr width="700" align="left" color="Tan" />
<br />

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

<cfchart 
    format="png"
    xaxistitle="First Name"
    yaxistitle="Salary"
    chartheight="400"
    chartwidth="700"
    showlegend="no"
    backgroundcolor="D2B48C"
    foregroundcolor="FFFAFA"
    fontbold="yes"
    show3d="yes"
    showxgridlines="no"
    databackgroundcolor="FFA500"
    font="Verdana"
    fontsize="13"
    showygridlines="yes"
    sortxaxis="no"
    showborder="no"
    >
    <cfchartseries 
     query="qEmployee" 
        type="area" 
        itemcolumn="FirstName" 
        valuecolumn="Salary"
        seriescolor="FF4500"
        paintstyle="shade"
        >
    </cfchartseries>
</cfchart>
</body>
</html>





More ColdFusion examples