三款ActiveX图表控件对比评测 TeeChart VS ProEssentials…

原文来源:http://www.evget.com/zh-CN/Info/catalog/18101.html

图表控件在现在的商业化应用中已经非常的常见了,随便打开一个网站,图表比比皆是。在自己的开发项目中,选对了好的图表控件将会对自己的项目起到画龙点睛的作用,一方面起到了优化了界面的效果,另一方面也避免了数据繁琐的表现方式,换以优秀的图表表示带给用户超炫的视觉震撼效果。

Activex控件本身就可以被多种应用程序使用,是一种可重用的软件组件,能很好的将其插入到WEB网页或其它应用程序中使用。

下面我们来看三款比较优秀的ActiveX图表控件:

TeeChart Pro ActiveX:

Steema公司是全球领先的图表解决方案的专家,旗下的图表产品畅销了近20年,TeeChart Pro ActiveX这一款图表控件能够很好的应用于ActiveX的编程环境,是一款交互性非常之强大的图表控件,而且程序也非常的轻便,能够高效的生成非常复杂的图表。

优势:

  • 提供几百种2D和3D图表,还加入了GIS制图、仪表图及大量用于移动开发的图表。
  • 图表样式细腻,极强的交互性。
  • 提供大量的帮助文档和教程示例,用户可以很快的上手。
  • 控件本身体积小,轻便,易用。
  • 多种导出格式:JPEG, GIF, PNG, EPS, PDF, Native Tee, BMP, WMF, EMF以及浏览器标签页上的即时图表等。

下载地址http://www.evget.com/zh-CN/product/607/feature.aspx

ProEssentials:

这是美国的Gigasoft公司唯一的一款产品,投入了相当大的精力。ProEssentials作为一个领先的图表制作工具,拥有出众的处理速度,完备的图表功能,对渲染和终端用户细节的重视。在工程、制造、金融和处理大数据集方面被广泛接受,也是财富500强信任的图表控件。

优势:

  • 五个图表对象的组合,涵盖了图表对象、科学图表对象、3D科学图表对象、Polar / Smith / Rose对象、饼状图表对象。
  • 提供了大量接口,同时支持多种开发平台:Visual Studio. NET, VB6, VC6, ASP, ASP.NET, Delphi等。
  • 迅速的启动速度,对大数据量提供完美支持,拥有超快的速度和良好的稳定性,是实现实时/带状图和展现连续数据的理想选择。
  • 控件以注重细节著称,比如:可以放大二维轮廓和旋转的三维曲面、三维线框、三维散射,我们可以从多个角度查看图表所展现的数据;对于饼状图控件,提供了三种算法,有效的避免了文本重叠···· · ·
  • 功能丰富,完美的实现客户要求的功能。
  • 开发系统本地具有电子文档向导(Walk-through)系统,帮助在ActiveX领域的开发。

下载地址http://www.evget.com/zh-CN/product/245/feature.aspx

ChartDirector:

ChartDirector是一款使用方便,快捷,拥有很强的灵活性,功能强大,交互性强的图表控件。在web服务器以及嵌入式应用程序开发中,它是一种非常理想的工具,拥有丰富的图表图形组件库。

优势:

  • 多线程结构,对于高性能要求的服务器端有很强的优势。
  • 拥有基于API的对象,在大量且全面的图表库的基础上,允许用户控制和定制图表细节,从而设计出用户满意的图表。
  • 适用于桌面、web、client/server、console、batch、service、background和其他的应用程序。支持多种编语言,比如:ASP、COM、VB、VBScript、VBA、avaScript、.NET (C#/VB)、Java、JSP、C++、PHP、Perl、Python、 ColdFusion a和Ruby。可以在Windows、Linux、FreeBSD、Solaris、Mac OS X等多个操作系统中很好的使用。
  • 特有的针对金融的相当成熟的金融类图表库(附有源代码)。
  • 采用高级的着色系统、生成的图表非常的精细,不会出现模糊的效果。

下载地址http://www.evget.com/zh-CN/product/515/feature.aspx

总结

对于这三款图表控件,在这里没有把所有的优势都列出来,切身体验才能体会到其强大的效果。

TeeChart Pro ActiveX是一款知名图表控件产品,对于生成复杂的图表有很大的优势;而ProEssentials是一款以细节制胜的图表控件,在处理大量数据集的应用领域非常的受欢迎,比如说金融,以及对数据精度要求非常高的工业领域; ChartDirector有着非常全面的图表库,支持多种脚本语言,图表颜色效果细腻生动。三款图表控件各有千秋,用户需要根据具体的项目需求来进行选择。

=========================================== TeeChart Pro Activex Control v2018 MS .NET COMPATIBILITY Copyright (c) 1997-2018 by Steema Software SL All Rights Reserved. http://www.steema.com email: info@steema.com supportx@steema.com =========================================== Document updated: June 2004 TeeChart Pro Activex Control MS Visual Studio .NET compatibility notes =========================================== Please see the release.txt release notes for bugfix and feature information about this release. =========================================== Changes for NET compatibility - The Chart.Series(xx) read-only property has been replaced by a Function method (affects only code written in VC++ and similar languages that make direct reference to Get_ and Set_ of properties). The new Series method (called Series) changes visibly by removal of the property 'Get_' element of the Function. The change is required due to a current MS.NET import restriction causing non-import of ActiveX properties that have an index parameter (only affects the root level of controls !). For a VB application no code change is necessary. Please see the following notes for other environments. The original property has been hidden in the interface and renamed to aSeries keeping its existing Dispid to support backward compatibility with applications compiled with previous releases of TeeChart 5. - The TChart OnSeriesBeforeAdd method uses a boolean variable called 'Continue'. "continue" is a keyword in C# (the language used to interim compile TeeChart namespace information in .NET). This had caused an import problem with the earlier releases of Visual Studio .NET. As a precaution we have chosen to rename the parameter to 'MoreValues' for the TeeChart Pro ActiveX Control. Notes on use: ------------- - Constant names in NET require full reference by default: eg. AxTChart1.AddSeries(TeeChart.ESeriesClass.scLine) Upgrading existing projects: ---------------------------- Upgrading existing Visual Studio projects works without manual intervention in code for most simple projects. Notable points relating to import: VISUAL BASIC project: ===================== - Designtime saved content of a Chart does not always successfully import to a NET project. We recommend you open the project first in its current environment (eg. Visual Basic v6) and provoke a change in the Chart and resave the project. That will update the saved frx Chart information data to v5.0.3. Then save the Chart content as a tee file by right-clicking the Chart and selecting 'Export'. Some projects 'may' then import the saved Chart correctly without further steps required. If the Chart content doesn't import successfully then right-click on the Chart and import the saved tee file. If the project fails to import, clear the Chart content after saving it to tee (remove and replace the Chart with an empty one) and re-import following the above step to later import the saved tee file. - Calls to interfaces not supported. In Visual Studio v6 and prior versions, it was possible to connect components by interface. eg. TeeCommander.Chart=TChart1 This is no longer possible. You should use the integer link: eg. TeeCommander.ChartLink=TChart1.ChartLink - Colour definition requires update TeeChart colours map as UInt32 when imported to NET. The colour definition when applied takes the following form: .Labels.Font.Color = System.Convert.ToUInt32(System.Drawing.ColorTranslator.ToOle(System.Drawing.Color.Cyan)) - Some event syntax is incorrect on import. Notably the Mouse events which are 'duplicated' by default NET appointed events. If you find event syntax to be incorrect, modify the syntax as follows: eg. Private Sub TChart1_OnMouseUpEvent(ByVal eventSender As System.Object, _ ByVal eventArgs As AxTeeChart.ITChartEvents_OnMouseUpEvent) _ Handles TChart1.OnMouseUp 'do something End Sub - Some form object (eg. Checkbox) events may fire before the Chart is loaded. That didn't occur in VB6 and will require a workaround in VB.NET if Chart properties are referenced in this way at Form load. eg. taken from VB Drag Points example: 'Check1.CheckStateChanged may fire when form is intialized Private Sub Check1_CheckStateChanged(ByVal eventSender As System.Object, _ ByVal eventArgs As System.EventArgs) _ Handles Check1.CheckStateChan ' switch 2D / 3D view... TChart1.Aspect.View3D = Check1.CheckState ' enable scroll-bar only in 3D... HScroll1.Enabled = Check1.CheckState End Sub In the above event the View3D line will fail as the Chart isn't yet loaded when the event is called. An option to workaround it may be to set a boolean 'OK_To_Run' variable to set after the first Chart Repaint. eg. OK_To_Run false on load and set to true in Form_Load event after Chart is populated, etc. Private Sub Check1_CheckStateChanged(ByVal eventSender As System.Object, _ ByVal eventArgs As System.EventArgs) _ Handles Check1.CheckStateChan ' switch 2D / 3D view... If OK_To_Run = True Then TChart1.Aspect.View3D = Check1.CheckState End if ' enable scroll-bar only in 3D... HScroll1.Enabled = Check1.CheckState End Sub Microsoft recommend a similar step (add a IsInitializing property to the Form). We'll be taking a closer look at these issues to see if we can recommend less demanding steps to resolve them. VISUAL C++ project: ===================== The Series declaration has changed. The easiest way to upgrade the project is to import TeeChart classes before upgrading the project to .NET. 1. All references to 'GetSeries(xx)' should be changed to 'Series(xx)' That will call the new Series method that returns the Series Interface (just as the predecesor property did). The Series property has been name changed to aSeries, retaining its DispId to support existing compiled applications. 2. The following is handled automatically if you import the TeeChart classes. For reference, the following changes occur to the Series declaration. *Note you should not need to do anything if you import TeeChart to your project. a) In the TChart.h Class header file the GetSeries declaration changes to: CSeries Series(long SeriesIndex); b) In the TChart.cpp Class impl. file the GetSeries declaration changes to: CSeries CTChart::Series(long SeriesIndex) { LPDISPATCH pDispatch; static BYTE parms[] = VTS_I4; InvokeHelper(0x14, DISPATCH_METHOD, VT_DISPATCH, (void*)&pDispatch;, parms, SeriesIndex); return CSeries(pDispatch); } Projects should then compile without issue. =========================================== Use of Strong Named Assemblies =========================================== If you compile Strong Named Assemblies then imported ActiveX Controls must also be Strong Named. The Utilities folder contains a Strong Name compiled version of: \Utilities\VS.NET\Strong Named DLLs - AxInterop.TeeChart.dll - TeeChart.dll They may be used to replace the automatically generated AxInterop.TeeChart.dll and Interop.TeeChart.dll created when TeeChart AX is added to a Windows Form. You should remove auto-generated dlls from the references list in the project Solution Explorer and from the Obj folder of the project and Debug or Release Bin folder. Then copy in the new Dlls to Obj and Bin folders and reference the new Dlls from their Obj folder location. =========================================== Please send us details about any other issues found to: http://www.teechart.net/support/modules.php?name=Forums Many thanks ! =========================================== http://www.steema.com support: http://www.teechart.net/support/modules.php?name=Forums -------------------------------------------
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值