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.
溫度記錄範例 範例展示如何創建帶負值條形的條形圖錶。
縮放綫範例 範例展示如何創建自己的自定義縮放效果。