Revision control
Copy as Markdown
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
/*!
\example chartsgallery
\title Charts with Widgets Gallery
\ingroup qtcharts_examples
\examplecategory {Data Visualization}
\brief An application that demonstrates the Qt Charts Widgets API.
\image ChartWidgetGallery.png {Screenshot showing a bar chart of temperature
records across twelve months from January to December between 52 and -52
degrees Celsius, the bars in the positive area are green, and the bars in
the negative area are blue. On the left side are different options to
change the chart to different chart types}
This example demonstrates the Qt Charts API for widgets by using included sample
data to populate a number of chart types and interactions for a user.
\annotatedlist charts_widget_gallery_example
\include examples-run.qdocinc
If you want to implement charts with QML see the \l{Charts with QML Gallery}.
*/