2831Financial Graphhttp://www.codeave.com/asp/code.asp?u_log=43This sample code demonstrates how to create effective graphs using simple html and the output from an access db but without the need for third party components. The example shows the stock performance for Yahoo.ASP > Tips and Tutorials > Graphs and ChartsOct 10, 2006
To begin with, we need to create an HTML page or you could use any extension you would like. This is going to be the page the content is displayed on. Later in the article we will build a ASP page that generates the chart and is called using AJAX from the main page. I will not go into all of the details of creating a page and the entire layout, but rather focus on the items related to the chart.
Charts are very useful for internet applications. Imagine an online stock brokerage, or perhaps you have a scientific site that tracks population patterns. You can use charts virtually anywhere. The problem is that most people believe to create a chart, you must use a separate program and create a GIF or JPG to insert into your web page, not to mention the fact that there are not many resources out there to show you how. Here, we'll show you how to do it dynamically and through ASP, so no more chart GIFs!
The bar chart sample in asp101.com served as the basis for building this stack bar chart. A strong feature of the sample is the ability to read the values of the bars through the tool tip text. Each bar is an image inside a table data (
This sample code demonstrates how to create effective graphs using simple html and the output from an access db but without the need for third party components. The example shows the stock performance for Yahoo.
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.