PCS WebCharts©
Professional Computing Solutions, Inc.
Example -- ColumnChart
A traditional column chart -- specify values for individual categories and then display them in comparison to each other using vertical bars.  The example below shows the amount of sales made in five different states.
Go Back

The following code...

<!-- #include file="ColumnChart.asp" -->
<%
valList = Array(34.3, 56.1, 87, 99.2, 32)
lblList = Array("PA","NY","NJ", "CT", "MA")
chartOpt = "Caption:Sales by State;MaxScale:200;GridColor:FF0000;LabelColor:0000FF"

ColumnChart valList, lblList, chartOpt

Creates this chart...

Sales by State
 
200 ---
180 ---
160 ---
140 ---
120 ---
100 ---
80 ---
60 ---
40 ---
20 ---
 
34.3
56.1
87
99.2
32
PA NY NJ CT MA


Send comments or questions on this page to webmaster@thePCSweb.com
Copyright © 1999-2008 Professional Computing Solutions, Inc.