Qt Charts 范例

Qt Charts 范例演示如何在基于 Widget 和 Qt Quick 的应用程序中使用图表:

区域图表范例 展示如何创建简单区域图表的范例。
音频范例 此范例展示动态数据 (麦克风输入) 的绘制。
条形图表范例 展示如何创建条形图表的范例。
BarModelMapper 范例 此范例展示如何使用 QAbstractItemModel 派生模型作为条形系列的数据。
方框和晶须范例 范例展示如何创建方框和晶须图表。
标注范例 此范例展示如何在图表顶部绘制额外 (标注) 元素。
烛台图表范例 展示如何创建烛台图表。
图表主题范例 示例展示不同内置主题的外观和感觉。
自定义图表范例 This example shows how to customize the appearance of the different elements on a chart.
日期时间轴范例 范例展示如何使用 QLineChart 与 QDateTimeAxis。
圆环图表分解范例 This example shows how to use create a donut breakdown chart using QPieSeries API.
圆环图表范例 This example shows how to create a simple donut chart, and do some customizations to a slice.
动态样条线范例 此范例展示如何绘制动态数据。
水平条形图表范例 The example shows how to create a horizontal bar chart.
水平百分比条形图表范例 The example shows how to create a simple horizontal percent bar chart.
水平堆叠条形图表范例 The example shows how to create a simple stacked horizontal bar chart.
图例范例 This example shows how to detach the legend from the chart and how to attach it back.
图例标记范例 范例展示如何使用图例标记。
线和条形图范例 范例展示如何组合不同图表并设置轴。
线图表范例 范例展示如何创建简单线图表。
对数轴范例 范例展示如何使用 QLogValueAxis。
模型数据范例 This example shows how to use the QAbstractItemModel derived model as the data for the series.
多轴范例 The example shows how to create a simple chart with two vertical axes. One for each series.
嵌套圆环范例 This example shows how to create a nested donuts chart using the QPieSeries API.
OpenGL 加速系列范例 The example shows how to enable OpenGL acceleration for QLineSeries and QScatterSeries.
百分比条形图表范例 范例展示如何创建简单百分比条形图表。
饼状图表定制范例 This example shows how the look and feel of a pie chart can be customized.
饼状图表深入研究范例 The example shows how to implement a piechart with drilldown effect.
饼状图表范例 The example shows how to create a simple pie chart and do some customizations to a pie slice.
极坐标图表范例 The example shows how to create a simple polar chart with multiple different series.
QML 轴 This is a demonstration of how to use axes in your QML application.
QML 图表范例 This basic demonstration shows how to use the different chart types by using qml.
QML 自定义图例 This example shows you how to create your own custom legend.
QML 定制 This application shows you how to customize different visual properties of a ChartView and series.
QML F1 图例 This application demonstrates how to use XmlListModel as a datasource for a Chart.
QML 示波器 The example shows how to implement application with strict performance requirements using the Qt Charts QML API.
QML 极坐标图表 This is a demonstration on how to use a polar chart in your QML application.
QML 天气 This is a basic demonstration showing how to use the different chart types by using qml.
散点交互范例 This example shows how to create a simple scatter chart and how to interact with the chart.
散点图表范例 The example shows how to create a simple scatter chart.
样条线图表范例 范例展示如何创建简单样条线图表。
堆叠条形图表深入研究范例 The example shows how to implement drilldown using a stacked barchart.
堆叠条形图表范例 The example shows how to create a simple stacked bar chart.
温度记录范例 范例展示如何创建带负值条形的条形图表。
缩放线范例 范例展示如何创建自己的自定义缩放效果。