The scatter data is displayed as a collection of points on the chart. For each point, two values are specified that determine its position on the horizontal axis and the vertical axis.
The following code snippet illustrates how to create a basic scatter chart:
QScatterSeries* series = new QScatterSeries(); series->append(0, 6); series->append(2, 4); ... chart->addSeries(series);
For more information, see ScatterChart Example and Scatter Interactions Example .
Constructs a series object that is a child of
This enum value describes the shape used when rendering marker items.
The marker is a circle. This is the default value.
The marker is a rectangle.
- Return type
size – float
© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.