简体   繁体   中英

Charting in Gtk / Gtk#

i would like to create a simple charting system for stock in Gtk# (and C#), with the possibilities to draw inside it. I don't know where to start: it's best to start from scratch ? Or using something pre-made ? Is it best to use Cairo ? Or System.Drawing ? Are there some piece of code i can reuse ?

Thanks

Medsphere有一些自定义的gtk #widgets,其中有一个Graph,请看这里的概述, 这里是Graph文档。

You can try nplot :

NPlot includes controls for Windows.Forms, ASP.NET and a class for creating Bitmaps. A GTK# control is also available.

I had the same questions some time ago, and though it is certainly possible to use third party solutions, I researched how to do it myself, finally determining Mono's Cairo# was the way to go. It is possible to use the graphics primitives in Gdk.Window , but that seems to be obsolete.

About System.Drawing , that would be suitable for charting in Windows Forms .

I even developed a demo about charting in Gtk# in the process.

Hope this helps.

if you want to use free charts- use Microsoft Chart Controls

don't forget to vote up or mark as answer...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM