官术网_书友最值得收藏!

Graphs and Charts

In the previous chapter, we learned how to retrieve data from a database using Qt's sql module. There are many ways to present this data to the users, such as displaying it in the form of tables or diagrams. In this chapter, we will learn how to do the latterpresenting data with different types of graphs and charts using Qt's charts module.

In this chapter, we will cover the following topics:

  • Types of charts and graphs in Qt
  • Charts and graphs implementation
  • Creating the dashboard page

Since Qt 5.7, several modules that were only available for commercial users before have become free for all the open source package users, which includes the Qt Charts module. Therefore, it is considered a very new module for most Qt users who don't own the commercial license.

Do note that, unlike most of the Qt modules that are available under an LGPLv3 license, the Qt Chart module is offered under an GPLv3 license. Unlike LGPLv3, a GPLv3 license requires you to release the source code of your application, while your application must also be licensed under GPLv3. This means that you are not allowed to static-link Qt Chart with your application. It also prevents the module from being used in proprietary software.

To learn more about the GNU licenses, please head over to the following link:  https://www.gnu.org/licenses/gpl-faq.html.

Let's get started!

主站蜘蛛池模板: 泽普县| 马鞍山市| 汶川县| 平罗县| 宿州市| 营山县| 宜兰县| 灵武市| 定兴县| 锡林郭勒盟| 永寿县| 微山县| 社旗县| 上饶市| 金溪县| 汶上县| 鄂伦春自治旗| 理塘县| 靖西县| 罗源县| 兴国县| 鄂尔多斯市| 南和县| 开鲁县| 朔州市| 客服| 富平县| 调兵山市| 黎平县| 龙海市| 广元市| 宁安市| 南江县| 大连市| 新乡市| 承德市| 甘南县| 中阳县| 尉氏县| 黄梅县| 富宁县|