日期:2014-05-20  浏览次数:20763 次

dotnetcharting的用法
我按照网上的代码写了一遍出不来效果啊
代码如下:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Statictics.aspx.cs" Inherits="WebMemberManage.Statictics" %>

<%@ Register Assembly="dotnetCHARTING" Namespace="dotnetCHARTING" TagPrefix="dotnetCHARTING" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <dotnetCHARTING:Chart ID="Chart1" runat="server">
        </dotnetCHARTING:Chart>
    </div>
    </form>
</body>
</html>

/// <summary>
/// Charting的摘要说明
/// </summary>
using System.Data;
using dotnetCHARTING;
namespace WebMemberManage.Commen
{
    public class Charting
    {
        protected string _phaysicalimagepath;
        protected string _title;
        protected string _xtitle;
        protected string _ytitle;
        protected string _seriesname;
        protected int _picwidth;
        protected int _pichight;
        protected SeriesType _type;
        protected bool _use3d;
        protected DataTable _dt;
        protected string _filename;

        public Charting()
        {
            //
            // TODO: 在此处添加构造函数逻辑
            //
        }
        /// <summary>
        /// 图片存放路径
        /// </summary>
        public string PhaysicalImagePath
        {
            set { _phaysicalimagepath = value; }
            get { return _phaysicalimagepath; }
        }
        /**/
        /// <summary>
        /// 图片标题
        /// </summary>
        public string Title
        {