Office XP Charting Examples in asp.net
来源:互联网 发布:sql 外键关联查询 编辑:程序博客网 时间:2024/05/23 05:07
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 728x15, 创建于 08-4-23MSDN */google_ad_slot = "3624277373";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Create ChartSpace/Chart
Dim oChartSpace As New OWC10.ChartSpace()
Dim oChart As OWC10.ChChart
Dim oSeries As OWC10.ChSeries
'Get a newly created chart from the ChartSpace
oChart = oChartSpace.Charts.Add
'Get a newly created series from the Chart
oSeries = oChart.SeriesCollection.Add
'Set the Title
oChart.HasTitle = True
oChart.Title.Caption = "Dot net Charting"
'DEMO Hard Coded
Dim aValues() As Double = {1, 2, 4, 8, 16}
Dim aCat() As String = {"A", "B", "C", "D", "E"}
'Setup the text on the bottom axis
Call oChart.SetData(OWC10.ChartDimensionsEnum.chDimCategories, -1, GetChartSafeArray(aCat))
'Add the data to the series
Call oSeries.SetData(OWC10.ChartDimensionsEnum.chDimValues, -1, GetChartSafeArray(aValues))
'*******************************************************************************
'*** Output the Chart
'*******************************************************************************
'Erase any Garbage from Response
Response.Buffer = True
Response.Clear()
'Tell Browser to eXPect a GIF
Response.ContentType = "image/gif"
'Send the GIF Binary Data
Response.BinaryWrite(oChartSpace.GetPicture("gif", 300, 300))
'Stop
Response.End()
End Sub
g/wangzhanyouhua/" title="seo,搜索引擎优化">seover="window.status='正文--Office XP Charting Examples in asp.net';return true">
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 728x15, 创建于 08-4-23MSDN */google_ad_slot = "3624277373";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 160x600, 创建于 08-4-23MSDN */google_ad_slot = "4367022601";google_ad_width = 160;google_ad_height = 600;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
Imports OWC.StimGraph.HelperPrivate Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Create ChartSpace/Chart
Dim oChartSpace As New OWC10.ChartSpace()
Dim oChart As OWC10.ChChart
Dim oSeries As OWC10.ChSeries
'Get a newly created chart from the ChartSpace
oChart = oChartSpace.Charts.Add
'Get a newly created series from the Chart
oSeries = oChart.SeriesCollection.Add
'Set the Title
oChart.HasTitle = True
oChart.Title.Caption = "Dot net Charting"
'DEMO Hard Coded
Dim aValues() As Double = {1, 2, 4, 8, 16}
Dim aCat() As String = {"A", "B", "C", "D", "E"}
'Setup the text on the bottom axis
Call oChart.SetData(OWC10.ChartDimensionsEnum.chDimCategories, -1, GetChartSafeArray(aCat))
'Add the data to the series
Call oSeries.SetData(OWC10.ChartDimensionsEnum.chDimValues, -1, GetChartSafeArray(aValues))
'*******************************************************************************
'*** Output the Chart
'*******************************************************************************
'Erase any Garbage from Response
Response.Buffer = True
Response.Clear()
'Tell Browser to eXPect a GIF
Response.ContentType = "image/gif"
'Send the GIF Binary Data
Response.BinaryWrite(oChartSpace.GetPicture("gif", 300, 300))
'Stop
Response.End()
End Sub
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 728x15, 创建于 08-4-23MSDN */google_ad_slot = "3624277373";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 160x600, 创建于 08-4-23MSDN */google_ad_slot = "4367022601";google_ad_width = 160;google_ad_height = 600;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
- Office XP Charting Examples in asp.net
- New ASP.NET Charting Control:
- Essential ASP.NET With Examples in C#
- Essential ASP.NET with Examples in C#
- 推荐此书《Essential ASP.NET with Examples in C#》
- ASP.NET Server-Side Charting With OWC11——饼状图
- GridView Examples for ASP.NET 2.0
- 牛X 3D报表 ASP.NET Charting Control(图表控制) Scott写
- ComponentArt Charting 2008.1 for .NET
- .net CHARTING图表控件免费下载地址
- Use Office Web Components to Load Excel and perform calculations in ASP.NET
- 在 ASP.NET 中使用 SQL Server 2000 Analysis Services 和 Office XP构造 OLAP 报表设计程序
- Inversion of Control – An Introduction with Examples in .NET
- ASP.NET Image Manipulation Examples: Adding, Zooming, Enlarging
- ASP.NET MVC Sample Applications - Open-Source Examples and Tutorials
- Open Source Charting & Reporting Tools in Java
- 用.NET建立Office Add-in
- ASP.NET Office PIA 编程心得
- PHP+DBM的同学录程序(3)
- 老外编的程序(四)--HashTable的使用示例
- PHP+DBM的同学录程序(4)
- 老外编的程序(五)--如何使用全球标识符(GUID)
- PHP+DBM的同学录程序(2)
- Office XP Charting Examples in asp.net
- PHP+DBM的同学录程序(1)
- c#中对文件的操作小结
- 基于mysql的bbs设计(三)
- 自定义控件的使用二----DBGlobal.cs部分
- 基于mysql的bbs设计(四)
- 如何把存储在数据库中的图片根据自己的需要的大小显示出来。【转】
- 基于mysql的bbs设计(二)
- 自定义控件的使用例子一