Bar chart and line chart pie chart control

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.