Corda.com

 

ColdFusion (PopChart)

< BACK TO QUICK START INDEX

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.

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.

  1. Download and Install Corda Server.
  2. Click here to download.

  3. Start Corda Builder.
  4. Select Start Menu > Corda 6.0 > Corda Builder (Click Cancel when the Wizard opens).

  5. Open the examples/apfiles/bar.pcxml file.

    This example appearance file is installed with PopChart. To open it, select File > Open, then choose ../examples/apfiles/bar.pcxml.

  6. Generate sample ColdFusion code for this appearance file.
  7. Select the Sample Code tab from the bottom left corner. Then select ColdFusion (COM Embedder) from the Code for pull-down menu.

  8. Save the code as popchart.cfm to your ColdFusion sever.
  9. 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.

  10. Start Corda Server.
  11. Select Start Menu > Corda 6.0 > Corda Server.

  12. Browse to the popchart.cfm file in your web browser.
  13. 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.

  14. You should see a bar graph in your 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: