Comparison between graph control netcharting and zedgraph

Source: Internet
Author: User
Source: http://hi.baidu.com/goga/blog/item/07b3024f61b8cd35aec3ab47.html

Recently I have examined several Statistical Chart Control packages.Zedgraph,Nplot, But in comparisonZedgraphPowerful and convenient. Other products are semi-finished products. More fees are charged, as long as commercial report development tools have the function of statistical charts, Crystal Reports,Activereport,Reporting ServiceBut for convenience, the single function is stillDotnetcharting. The following describesWinformUsageZedgraphAndDotnetcharting.

In terms of EffectDotnetchartingIt is really not said that the crystal effect is very dazzling, which should be its biggest selling point. Examples with various effects are provided to facilitate developers' learning.Code.DotnetchartingWhen generating a Statistical Chart, you need to set a temporary directory to save the image of the generated Statistical Chart,DotnetchartingThe chart works well, largely because it generates an image and then displays it on the interface. Of course, it sacrifices performance at the cost. At the same time, it does not support scaling. Although you can achieve this by changing the scale of the coordinate axis, the performance is much worse.

If you do not have high performance requirements,DotnetchartingIs a good choice.

ZedgraphWhere is the biggest selling point? It should be open-source. You can modify the code to meet your needs. For example:ZedgraphWhen you draw a line chart, the line does not use anti-aliasing, you only need to modifyLineClassDefaultStructure. AndDotnetchartingCompared,ZedgraphThe effect is a little worse. However, if you adjust it well, it is also good,ZedgraphThe advantage is not here.

BecauseZedgraphYesGDI +Directly inCanvasSo the performance is guaranteed. If you change the scale of the coordinate axis, andDotnetcharingCompared,ZedgraphThe response speed is very fast. Based on this,ZedgraphIt provides an important function of scaling and dragging. You can zoom out the chart by clicking the scroll wheel. You can drag the chart by clicking the middle button, which is very convenient.

For real-time trends similar to stock markets,CPUUsage and other real-time change data, useZedgraphIt can also be done conveniently.ZedgraphInPointpairlistPaint, so you only needPointpairlistAdd new data to this set, and then re-draw it. for performance, as mentioned above, it is directly used.GDI +, The performance is good, I tested400Point. So,ZedgraphYou can also deal with the demand with strong real-time requirements.

In general,DotnetchartingThe generated charts have good performance but poor performance, and are not suitable for scenarios with high real-time requirements.ZedgraphOpen-sourceDotnetchartingPoor, but good performance, can adapt to data with real-time requirements.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.