Corda.com
ColdFusion (PopChart)
These instructions will help you deploy a simple bar graph in a ColdFusion application. These instructions are somewhat abbreviated. If you would like a more detailed tutorial, view the ASP Quick Start in the PopChart Getting Started manual.
Quick Start
These instructions assume you are installing Corda Server on a machine serving ColdFusion pages. If you are serving ColdFusion pages from a different machine, these instructions may not work, or you may have to make adjustments.
- Download and Install Corda Server.
- Start Corda Builder.
- Open the
examples/apfiles/bar.pcxmlfile.This example appearance file is installed with PopChart. To open it, select File > Open, then choose
../examples/apfiles/bar.pcxml. - Generate sample ColdFusion code for this appearance file.
- Save the code as
popchart.cfmto your ColdFusion sever. - Start Corda Server.
- Browse to the
popchart.cfmfile in your web browser. - You should see a bar graph in your browser.
Click here to download.
Select Start Menu > Corda 6.0 > Corda Builder (Click Cancel when the Wizard opens).
Select the Sample Code tab from the bottom left corner. Then select ColdFusion (COM Embedder) from the Code for pull-down menu.
To save, click on Save Code to File button. Usually, you can save this file to your web server by saving it to C:\inetpub\wwwroot.
Select Start Menu > Corda 6.0 > Corda Server.
If you saved the file to the root of your web server, you can browse to
it by entering http://localhost/popchart.cfm in a browser.
Now you can customize your graph and connect to data on the fly by editing the popchart.cfm file. On our website you'll find a number of example ColdFusion applications, including code for connecting to a database:
