Flash Components      Flash Menu      Flash Gallery      Flash Slideshow      FLV Player      Flash Form      MP3 Player      PhotoFlow      Flash CMS      3D Wall      Flash Scroller

Flash / AS

Silverlight

WPF

ASP.net / PHP

Photoshop

Forums

Blog

About

 


FlashComponents
  Galleries
  Slideshows
  Menus
  Design & Effects
  Audio & Video
  User Interface
  Templates

 

 

Creating Line Charts - Page 1
       by kirupa  |  23 September 2006

You see line charts almost all the time. If you administer a web site, your log software probably uses a few charts to display your site's traffic. If you are into stock trading, charts are used extensively to display a stock's fluctuation over a period of time. There are numerous other examples of charts used everyday, but have you ever thought about how these charts are created?

Before answering that question for you, and to make up for my extremely boring intro paragraph, let me first show you the ASP.net chart this tutorial will help you deconstruct:

Don't let the static image trick you. Refresh this page or open the chart in a new window and keep refreshing that page. Notice that the chart looks different each time the page is loaded!

Since the above example was written entirely in code, in this tutorial I will first devote some time explaining how to approach designing a line chart before delving into how the code corresponds to our design.

Designing this Chart
There are two main features I focused on when designing this chart:

  1. Being able to easily resize and adjust the chart size.

  2. Allowing the chart to automatically adjust to wide ranges and quantities of data.

There are other features also, of course, but I will focus my attention on these two because I think they are most tricky to nail down properly in code. In the next page, I will elaborate on the above two features are designed.

Onwards to the next page!

1 | 2 | 3 | 4 | 5 | 6


kirupa.com's fast and reliable hosting provided by Media Temple. flash components
The Text Animation Component for Flash CS3
Check out the great, high-quality flash extensions. Buy or sell stock flash, video, audio and fonts for as little as 50 cents at FlashDen.
Check out our high quality vector-based design packs! Flash Effect Components

Flash Templates
CSS Templates
Dreamweaver Templates

flash menus, buttons and components
Digicrafts Components The best flash components ever!
Entheos Flash Website Templates Buy and sell FLAs at Ultrashock!
Upload, publish, deliver. Secure hosting for your professional or academic video, presentations & more. Screencast.com Purchase & Download Flash Components
Learn how to advertise on kirupa.com