Chart Control


© Maxim Karetnikov

The Chart control works just like a chart in Excel or Lotos. You provide a matrix of numeric values, and a chart gives the graphical relationship between these values. Using the Chart control, you can give your user with up-to-the-minute feedback regarding a set of numbers. Active X chart control supports 7 chart types. Each chart type has three different styles that can be employed:

Chart Type

Styles

Area Chart Simple Chart
Stacked Chart..
100%.
Bar Chart Simple Chart.
Stacked Chart.
100%.
Column Chart Simple Chart.
Stacked Chart.
100%.
Line Chart Simple Chart.
Stacked Chart.
100%.
Pie Chart Simple Chart.
One wedge of the chart is offset by some distance from the center.
Point Chart Simple Chart.
Stacked Chart.
100%.
Stocks Chart With Open, High, Low, and Close values.
Simple Chart.
Connected Chart.

The IEchART control supports the following properties:

Go To Page: 1 2


The copyright of the article Chart Control in VB Script is owned by . Permission to republish Chart Control in print or online must be granted by the author in writing.

Post this Article to facebook Add this Article to del.icio.us! Digg this Article furl this Article Add this Article to Reddit Add this Article to Technorati Add this Article to Newsvine Add this Article to Windows Live Add this Article to Yahoo Add this Article to StumbleUpon Add this Article to BlinkLists Add this Article to Spurl Add this Article to Google Add this Article to Ask Add this Article to Squidoo


Property

Description

progID IEchART.OCX
ClassID FC25B780-75BE-11CF-8B01-444553540000
BackStyle 0 for transparent; 1 for opaque
ChartType One of the following: 0=Simple Pie
  1=Pie with wedge out
  2=Point Chart
  3=Stacked Point
  4=Full Point
  5=Simple Line
  6=Stacked Line
  7=Full Line
  8=Simple Area
  9=Stacked Area
  10=Full Area
  11=Simple Column
Here's the follow-up discussion on this article: View all related messages

2.   May 21, 2003 1:58 PM
I see what looks like a textarea instead. How do you get the pie chart to display? Here's the code I tried:


<%@ LANGUAGE="VBSCRIPT" %>

<HTML>
<HEAD>
<TITLE>MyExcelC ...


-- posted by tzulah


1.   Jan 8, 2003 11:41 AM
why not the pie chart does not display?

-- posted by Haitong





For a complete listing of article comments, questions, and other discussions related to Maxim Karetnikov's VB Script topic, please visit the Discussions page.