【asp是什么意思】asp实现k线图在线

更新时间:2019-09-05 来源:热门资讯 点击:

【www.hzclsc.cn--热门资讯】

 可以考虑使用MSCHART,但是缺点是显示不太好看,不很专业,同时,如果客户端没有装的话就比较麻烦,因为显示不出来,所以一般的网站都采用生成图片的方式。下面给出MSCHART的一些东西,可以自己考虑着使用,我没有使用过其他的控件,所以不能给你满意的答复。另外附给你一个网址,www.tjinfo.com,里面有个调查题,使用了MSCHART,但是没有用折线,这个你可以自己定义的,CSDN的调查也使用了MSCHART。

=================================================================

看看我的这篇总结,你会受益匪浅!

关于Mschart的说明文档



MsChart是微软制作的功能强大的图表工具,用它可以很方便的建立各种图表。制作各种3维2维的直方图,折线图。结合前一段时间我对Mschart组件的认识,谈谈Mschart组件的使用方法。

1、 Chart Activex控件

In the HTML page, insert an tag for the License Manager object before any other tags. The License Manager is an ActiveX control that is installed with Internet Explorer.

NOTE: This CLASSID, "5220cb21-c88d-11cf-b347-00aa00a28331", is for the License Manager and not for your ActiveX controls. You must use the same CLASSID every time you refer to the LPK file. In addition, you should keep the Name property of the tag as "LPKPath", and set the Value property for the tag of the License Manager object to the LPK file name and path. This path may be a relative path but must not refer to a UNC share or a URL on another domain.

Because you can only have one LPK file for each HTML page, make sure that you include all of the licensed ActiveX Controls for the page when you generate your LPK file. For example:

  
id="Microsoft_Licensed_Class_Manager_1_0">

  



Insert the tag for your licensed control afterward. For example, an HTML page that displays the Microsoft Masked Edit control looks like this.

Here  I downloaded the file mschart.cab from Microsoft"s website.  It has been digitally signed.


id=mschart1 style="HEIGHT: 326px; WIDTH: 651px" CODEBASE="mschart.cab">


You can look this acticle if you need help.

http://support.microsoft.com/support/kb/articles/Q159/9/23.ASP

2、 Mschart组件的一些常用属性介绍

a、charttype:图形的类型

charttype=0>三维直方图

charttype=1>二维直方图

charttype=2>三维折线图

charttype=3>二维折线图

charttype=4>三维面积图

charttype=5>二维面积图

charttype=14>饼图

b、showlegend:是否显示解说

c、titletext:标题

d、Columncount: The number of data columns

e、Rowcount:The number of data rows

f、Footnotetext:The footnote text.

g、Plot: Returns a reference to a Plot object that describes the area upon which a chart is displayed.

h、row: A row number in the current column. Rows are numbered from top to bottom beginning with 1. column: The current data column.

i、Rowlabel: The text for a row label. The label you specify sets the label for the data points identified by the Row property. This label appears along the category axis for most chart types and is used as the label for each individual pie in a pie chart. Label text may not be displayed if it is too long to fit on a chart.columnlabel: . Label text associated with a column in the data grid.

j、Data: The data point value. If the current data point already contains a value, it is replaced by the new value. The chart is redrawn to reflect the new value for the current data point.

k、ChartData: A two-dimensional array that holds the data used to draw the chart. If the first series of a multi-dimensional array contains strings, those strings will become the labels of the chart.ChartData is the default property for the MSChart control.

It is so many properities about Mschart Activex.I only introduce so much.Now,I will provide your two example to you!I wish it can help you understand it.

Example 1:It come from:

http://www.4guysfromrolla.com/webtech/MSChartExample.shtm


id="Microsoft_Licensed_Class_Manager_1_0">

  




id=mschart1 style="HEIGHT: 326px; WIDTH: 651px" CODEBASE="mschart.cab">




Example 2:We almost can see it everywhere.









数据显示图






id="Microsoft_Licensed_Class_Manager_1_0">

  




id=mschart1 style="HEIGHT: 326px; WIDTH: 651px" CODEBASE="mschart.cab">





显示方式




chtitle    标题

rcount    列数

ccount    行数

rc_type 排列方式(1 以行方式,2以列方式)

rc_data 数据

rname    列名数组

cname    行名数组>


































本文来源:http://www.hzclsc.cn/news/26478.html

为您推荐

dnf鬼泣新buff换装|dnf鬼泣BUFF换装如何搭配 dnf起源版鬼泣BUFF换装搭配攻略

您的位置:首页 → 网游资讯 → dnf资讯 → dnf鬼泣BUFF换装如何搭配 dnf起源版鬼泣BUFF换装搭配攻略 dnf鬼泣BUFF换装如何搭配 dnf起源版鬼泣BUFF换装搭配攻略时间:201dnf资讯

2021-02-25 18:54:41   dnf鬼泣buff换装95   地下城鬼泣buff换装  

dnf流年鬼泣装备_dnf鬼泣起源版本装备搭配推荐 dnf黑暗君主起源版本加点攻略

2月1日DNF起源版本正式更新了,这次更新全职业平衡性将进行调整,所以这个版本DNF黑暗君主起源版本怎么加点?DNF黑暗君主起源版本用什么装备好?下面小编为大家爱带来了DNF黑暗君主起源版本加点攻略dnf资讯

2021-02-25 18:54:41   dnf鬼泣装备推荐   dnf鬼泣毕业装备  

【dnf黄金雄鹰图腾怎么升级】dnf黄金雄鹰图腾怎么得 黄金雄鹰图腾出现概率介绍

DNF游戏中成功建造传说图腾的小伙伴可以一次性拿到20个图腾精华,而普通的和特殊也才只给到6个,是普通 特殊的3倍还多,难怪这么多的玩家追求黄金雄鹰图腾了,毕竟有了它,组合出传说的概率非常的高。 为dnf资讯

2021-02-25 18:54:41  

[dnf起源剧情]dnf起源版本公会改动一览 dnf起源版本公会有哪些变动

全新的起源版本已经到来,这次改版的改动很大,甚至有些小伙伴都在游戏中迷路了,那么在全新的起源版本中公会有哪些变化呢?下面就让我们一起去了解一下DNF起源版本公会改动吧! DNF起源版本公会改动一览起dnf资讯

2021-02-25 18:54:41  

德特尔兽人族|dnf兽人族的特别宝物礼盒有什么 兽人族的特别宝物礼盒选择建议

兽人族的特别宝物礼盒打开后,可以在两种宝物礼盒中选择一种,远古兽人族的神秘宝物礼盒、兽人族英雄的宝珠礼盒,很多小伙伴不知道怎么选择才好,小编今天带来一篇DNF兽人族的特别宝物礼盒选择建议,希望大家喜dnf资讯

2021-02-25 18:54:41   怪物猎人世界老练的兽人族学者   兽人族永不为奴除非