C++ Qt 的图表库

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3537251/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-28 13:04:00  来源:igfitidea点击:

Chart library for Qt

c++qtgraphcharts

提问by gruber

Is there any open-source or free chart library for Qt? I only need XY charts, not bar charts or anything else.

Qt 有没有开源或免费的图表库?我只需要 XY 图表,不需要条形图或其他任何东西。

采纳答案by rubenvb

There's two I know of:

我知道的有两个:

  • Qwt

  • QtiPlot: the app is paid, but the code is not I think (you can download the source)

  • 重量

  • QtiPlot:app是付费的,但是代码不是我想的(可以下载源码)

回答by Luciano Lorenti

QCustomPlot is a rather compact Qt widget for plotting, with the possibility of extension to your needs, under the GPL license. It has no further dependencies and is fully documented, including internal functions.

QCustomPlot 是一个相当紧凑的 Qt 绘图小部件,在 GPL 许可下,可以根据您的需要进行扩展。它没有进一步的依赖关系,并且有完整的文档记录,包括内部功能。

Check the QCustomPlot website.

检查QCustomPlot 网站

回答by Hymannad