问题
Is there a widget for GTK or Qt that would allow me to draw stock charts like this?
http://smartquant.com/openquant/openquant_chart.jpg
(copy&paste the URL due to hotlinking restriction)
Thanks, Joel
回答1:
Qwt can handle it and Uwe Rathmann the main developer is active and helpfull
http://qwt.sourceforge.net/
mail thread on financial charting. http://sourceforge.net/mailarchive/forum.php?thread_name=78f82c3e0903191242m52567cb8ja2de6a273ed4b8be%40mail.gmail.com&forum_name=qwt-interest
回答2:
How about GTKGraph? Or see if you can pull something out of Grism? The author writes:
I draw stock charts using a GtkDrawingArea and a Cairo context. The charts are not animated, but if you resize the chart window, the chart automatically resizes (actually, it performs a redraw).
回答3:
There's KD Chart for Qt.
回答4:
Try this: NightCharts.
But you should keep in mind, that it's a self-made thing without any support and seemingly its development has been stopped already. So probably there may be a plenty of bugs.
And one more thing. IMHO it draws the most pretty pie charts among other Qt chart libraries.
回答5:
Medsphere has made their graphing widget available, note that it's implemented in gtk# though.
http://medsphere.org/projects/widgets/wiki/Graph
来源:https://stackoverflow.com/questions/731417/charting-widget-for-gtk-or-qt