Using System;
Using System. Collections;
Using System. ComponentModel;
Using System. Drawing;
Using System. Data;
Using System. Windows. Forms;
Using System. Xml;
Namespace ChartControl
{
/// <Summary>
/// Summary of ChartControl 1.0. This control is used for drawing. Charts are generated based on the data in the xml document.
/// Currently, two-dimensional and three-dimensional chart columns and line chart pie charts can be drawn. Han Yongyi 5Apr2005 production.
/// Modify "add key =" DiagramType "in the xml file to histogram
/// Change "add key =" DiagramType "in the xml file to flexdi #
/// For the pie chart, change "add key =" DiagramType "in the xml file to cakydi.pdf
/// The name of an xml file cannot be modified. It must be in the same directory as your program execution file.
/// </Summary>
Public class ChartControl: System. Windows. Forms. UserControl
{
Private System. Windows. Forms. Label label1;
Private System. Windows. Forms. Label label2;
Private System. Windows. Forms. Label label3;
/// <Summary>
/// Required designer variables.
/// </Summary>
Private System. ComponentModel. Container components = null;
Public ChartControl ()
{
// This call is required by the Windows. Forms Form Designer.
InitializeComponent ();
// TODO: add any initialization after the InitComponent call