Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stacked Bar Chart - Any III Party control available?

Status
Not open for further replies.

karthik555

IS-IT--Management
Oct 15, 2002
36
IN
Hello!
We have to display the contents in a webpage. When the user selects a value from a multiselect list box a Stacked Bar Chart should display the contents in a portion of a page. (May be I can use a IFRAME)

The Chart will display Dates in X Axis and Values in Y Axis. Each date will have three TYPE (Say T1, T2 and T3). Each type will have one or more Stacks of Categories representing values)

Depending on the user selection in multiselect list box the chart should dynamically refresh and render.

Any response will be of immense help.


Thanks in advance.

Karthik
 
I've got a free barchart (although not stacked) ASP class (no components) downloadable from my Web site at to help turn data stored in a table (or SQL statement) into a barchart.

To create a bar chart on a Web page you would include another Web page called jpschart.asp:
<!--#include file="jpschart.asp"-->

And the trick for using the chart with a recordset is the same concept as writing data to an HTML table from a recordset and that is this - within your loop through the recordset you retrieve values such as objRS("Sales") and in this case write those values to the chart object instead of writing those values to the HTML table.

And if a user ever wants to print a bar chart he can do this in a browser such as Internet Explorer: Tools | Internet Options | Advanced tab | Under Printing check "Print background colors and images."

Also you may want to check out the following:

Components: Graphics & Charts
Lists components.

Best regards,
-Paul
- Freelance Web and Database Developer
- Classic ASP Design Tips
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top