diff options
author | Andrii Staikov <andrii.staikov@scythe-studio.com> | 2021-06-27 00:20:47 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-08-30 13:01:41 +0000 |
commit | 9edcfe0d3099459aa36e69f6ab4605593cefc2ef (patch) | |
tree | 6f9fe9e42f5f373000fda0f32e7651dac97d5814 /examples/charts/charts.pro | |
parent | d421f565e9190b5e9e3af19b60e67bf85c8eb2cf (diff) |
Add bar chart example
Example shows using setBarSelected().
Selecting bars changes their color and information of selected/unselected bars.
[QtCharts][Example] Added Example
Task-number: QTBUG-89445
Change-Id: Ic863e763d2cfa552629f42afd1232c1f77b95e95
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
(cherry picked from commit 72d69b22d8da004fcb27e1a549cdda3f52b9c4af)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/charts/charts.pro')
-rw-r--r-- | examples/charts/charts.pro | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/charts/charts.pro b/examples/charts/charts.pro index 1e60be5a..cd92cfe2 100644 --- a/examples/charts/charts.pro +++ b/examples/charts/charts.pro @@ -39,7 +39,8 @@ qtConfig(charts-bar-chart) { stackedbarchartdrilldown \ percentbarchart \ legend \ - temperaturerecords + temperaturerecords \ + selectedbar } qtConfig(charts-pie-chart) { SUBDIRS += \ |