博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
今天 了解了一下 但是看不到解析xml的底层代码 也没什么东西
阅读量:4499 次
发布时间:2019-06-08

本文共 2827 字,大约阅读时间需要 9 分钟。

前台界面
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>            
<%=xmlstr%>
 

 

 
 

 

底层的东西都给封装了#region 程序集 FusionCharts.dll, v2.0.50727// D:\char2\Bin\FusionCharts.dll#endregionusing System;namespace InfoSoftGlobal{    public class FusionCharts    {        public FusionCharts();        public static string EncodeDataURL(string dataURL, bool noCacheStr);        public static string RenderChart(string chartSWF, string strURL, string strXML, string chartId, string chartWidth, string chartHeight, bool debugMode, bool registerWithJS);        public static string RenderChart(string chartSWF, string strURL, string strXML, string chartId, string chartWidth, string chartHeight, bool debugMode, bool registerWithJS, bool transparent);        public static string RenderChart(string chartSWF, string strURL, string strXML, string chartId, string chartWidth, string chartHeight, bool debugMode, bool registerWithJS, bool transparent, string bgColor, string scaleMode, string language);        public static string RenderChartHTML(string chartSWF, string strURL, string strXML, string chartId, string chartWidth, string chartHeight, bool debugMode);        public static string RenderChartHTML(string chartSWF, string strURL, string strXML, string chartId, string chartWidth, string chartHeight, bool debugMode, bool registerWithJS);        public static string RenderChartHTML(string chartSWF, string strURL, string strXML, string chartId, string chartWidth, string chartHeight, bool debugMode, bool registerWithJS, bool transparent);        public static string RenderChartHTML(string chartSWF, string strURL, string strXML, string chartId, string chartWidth, string chartHeight, bool debugMode, bool registerWithJS, bool transparent, string bgColor, string scaleMode, string language);    }}

下面试一下饼图

using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Text;using InfoSoftGlobal;public partial class _Default : System.Web.UI.Page{    public string xmlstr = "";    protected void Page_Load(object sender, EventArgs e)    {        if (!IsPostBack)        {             data();        }    }    public void data()    {     StringBuilder a =new StringBuilder();       a.Append("
"); a.Append("
"); a.Append("
"); a.Append("
"); a.Append("
"); a.Append("
"); a.Append("
"); string c = a.ToString(); xmlstr = FusionCharts.RenderChart("/FusionCharts/Pie3D.swf", "", a.ToString(), "FactorySum5", "600", "480", false, false, true); }

 

 

转载于:https://www.cnblogs.com/haihang/archive/2012/12/06/2804884.html

你可能感兴趣的文章
AOSP、AOKP、CM的区别
查看>>
ES6 类
查看>>
如何将qlv格式的腾讯视频转换为mp4格式
查看>>
leetcode 416. Partition Equal Subset Sum
查看>>
leetcode 695. Max Area of Island
查看>>
Linux命令之乐--telnet
查看>>
Jupyter Notebook 快速入门
查看>>
CompositeTransform 类11111111
查看>>
c#的DateTime.Now函数详解
查看>>
Django会话之cookie(手动设置)
查看>>
decorator pattern and linked list
查看>>
synchronized详解
查看>>
Runtime类 调用windows程序。
查看>>
MCV 添加filter操作
查看>>
正确配置Linux系统ulimit值的方法
查看>>
redis安装与参数说明
查看>>
Java常用类之Properties类
查看>>
[UVA 11825] Hackers' Crackdown
查看>>
Google今天叫——谷歌
查看>>
Android中关闭DatePicker和NumberPicker等Picker类的可编辑模式
查看>>