QuickGraphLib 0.1.0a17__tar.gz → 0.1.0a18__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/.gitignore +1 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/PKG-INFO +1 -1
- quickgraphlib-0.1.0a18/QuickGraphLib/GraphItems/BarHorizontal.qml +51 -0
- quickgraphlib-0.1.0a18/QuickGraphLib/GraphItems/BarVertical.qml +51 -0
- quickgraphlib-0.1.0a18/QuickGraphLib/GraphItems/BoxPlotHorizontal.qml +82 -0
- quickgraphlib-0.1.0a18/QuickGraphLib/GraphItems/BoxPlotVertical.qml +82 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/GraphItems/CMakeLists.txt +4 -0
- quickgraphlib-0.1.0a18/QuickGraphLib/_version.py +24 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/helpers/Helpers.cpp +76 -0
- quickgraphlib-0.1.0a18/examples/BarChartHorizontal.png +0 -0
- quickgraphlib-0.1.0a18/examples/BarChartHorizontal.qdoc +13 -0
- quickgraphlib-0.1.0a18/examples/BarChartHorizontal.qml +80 -0
- quickgraphlib-0.1.0a18/examples/BarChartVertical.png +0 -0
- quickgraphlib-0.1.0a18/examples/BarChartVertical.qdoc +13 -0
- quickgraphlib-0.1.0a18/examples/BarChartVertical.qml +80 -0
- quickgraphlib-0.1.0a18/examples/BoxPlots.png +0 -0
- quickgraphlib-0.1.0a18/examples/BoxPlots.qdoc +13 -0
- quickgraphlib-0.1.0a18/examples/BoxPlots.qml +46 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/pyproject.toml +1 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/requirements.txt +3 -3
- quickgraphlib-0.1.0a18/tests/reference_images/BarChartHorizontal.dat +0 -0
- quickgraphlib-0.1.0a18/tests/reference_images/BarChartHorizontal.png +0 -0
- quickgraphlib-0.1.0a18/tests/reference_images/BarChartHorizontal.svg +751 -0
- quickgraphlib-0.1.0a18/tests/reference_images/BarChartHorizontal_grab.png +0 -0
- quickgraphlib-0.1.0a18/tests/reference_images/BarChartVertical.dat +0 -0
- quickgraphlib-0.1.0a18/tests/reference_images/BarChartVertical.png +0 -0
- quickgraphlib-0.1.0a18/tests/reference_images/BarChartVertical.svg +751 -0
- quickgraphlib-0.1.0a18/tests/reference_images/BarChartVertical_grab.png +0 -0
- quickgraphlib-0.1.0a18/tests/reference_images/BoxPlots.dat +0 -0
- quickgraphlib-0.1.0a18/tests/reference_images/BoxPlots.png +0 -0
- quickgraphlib-0.1.0a18/tests/reference_images/BoxPlots.svg +773 -0
- quickgraphlib-0.1.0a18/tests/reference_images/BoxPlots_grab.png +0 -0
- quickgraphlib-0.1.0a17/QuickGraphLib/_version.py +0 -34
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/.clang-format +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/.pre-commit-config.yaml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/CMakeLists.txt +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/LICENCE +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/AntialiasingContainer.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/Axis.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/CMakeLists.txt +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/ColorMaps.cpp +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/ColorMaps.hpp +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/DataTypes.cpp +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/DataTypes.hpp +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/Global.hpp +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/GraphArea.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/GraphItems/AxHLine.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/GraphItems/AxHSpan.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/GraphItems/AxVLine.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/GraphItems/AxVSpan.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/GraphItems/BasicLegend.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/GraphItems/BasicLegendItem.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/GraphItems/ColorMesh.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/GraphItems/Contour.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/GraphItems/GraphItemDragHandler.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/GraphItems/Grid.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/GraphItems/Histogram.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/GraphItems/Line.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/GraphItems/Marker.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/GraphItems/helpers/GridHelper.cpp +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/GraphItems/helpers/GridHelper.hpp +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/GraphItems/helpers/HistogramHelper.cpp +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/GraphItems/helpers/HistogramHelper.hpp +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/ImageView.cpp +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/ImageView.hpp +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/Plugin.cpp +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/PreFabs/CMakeLists.txt +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/PreFabs/ImageAxes.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/PreFabs/XYAxes.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/QuickGraphLib.hpp +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/ScalingContainer.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/ShapeRepeater.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/TickLabel.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/ZoomPanHandler.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/__init__.py +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/bindings/Bindings.hpp +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/bindings/Bindings.xml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/bindings/CMakeLists.txt +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/bindings/ShibokenHelpers.cpp +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/bindings/ShibokenHelpers.hpp +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/bindings/glue/DataTypes.cpp +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/bindings/pyigen.py +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/consts.py +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/contours.py +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/doc/AxesGridLayout.drawio +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/doc/AxesGridLayout.svg +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/doc/export.qdoc +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/doc/graphitems.qdoc +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/doc/graphstructure.qdoc +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/doc/index.qdoc +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/doc/interaction.qdoc +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/doc/module-cpp.qdoc +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/doc/module.qdoc +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/doc/prefabs.qdoc +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/doc/python_helpers.qdoc +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/helpers/AxisHelper.cpp +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/helpers/AxisHelper.hpp +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/helpers/Foreign.hpp +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/helpers/Helpers.hpp +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/helpers/ShapeRepeaterHelper.cpp +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/helpers/ShapeRepeaterHelper.hpp +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/QuickGraphLib/py.typed +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/README.md +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/activate_venv.ps1 +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/ci/find_qt.py +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/ci/fixup_qt.py +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/ci/setup_qt.py +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/docs/build_docs.py +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/docs/config.qdocconf +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/docs/style.css +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/AllTheAxes.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/AllTheAxes.qdoc +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/AllTheAxes.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/BasicHistogram.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/BasicHistogram.qdoc +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/BasicHistogram.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/BasicSinGraph.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/BasicSinGraph.qdoc +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/BasicSinGraph.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/BasicSinGraphNoPrefabs.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/BasicSinGraphNoPrefabs.qdoc +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/BasicSinGraphNoPrefabs.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/BuiltinColormaps.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/BuiltinColormaps.qdoc +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/BuiltinColormaps.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/ColorMappedImages.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/ColorMappedImages.qdoc +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/ColorMappedImages.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/ColorMesh.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/ColorMesh.qdoc +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/ColorMesh.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/Complex.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/Complex.qdoc +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/Complex.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/Contours.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/Contours.qdoc +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/Contours.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/Conway.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/Conway.qdoc +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/Conway.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/DarkSinGraph.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/DarkSinGraph.qdoc +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/DarkSinGraph.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/DraggableRegion.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/DraggableRegion.qdoc +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/DraggableRegion.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/ExampleGallery.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/ExampleGallery.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/ImageAlignment.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/ImageAlignment.qdoc +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/ImageAlignment.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/InvertedAxes.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/InvertedAxes.qdoc +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/InvertedAxes.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/LogGraph.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/LogGraph.qdoc +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/LogGraph.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/PeakButtons.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/PeakButtons.qdoc +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/PeakButtons.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/ReadoutLine.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/ReadoutLine.qdoc +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/ReadoutLine.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/ScalingGraph.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/ScalingGraph.qdoc +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/ScalingGraph.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/Scatter.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/Scatter.qdoc +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/Scatter.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/SpansAndLines.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/SpansAndLines.qdoc +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/SpansAndLines.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/Subgraphs.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/Subgraphs.qdoc +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/Subgraphs.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/TwinX.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/TwinX.qdoc +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/TwinX.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/ZoomableAsImage.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/ZoomableAsImage.qdoc +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/ZoomableAsImage.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/ZoomableAxes.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/ZoomableAxes.qdoc +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/ZoomableAxes.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/__init__.py +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/conway.py +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/examples/gallery.py +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/setup_venv.ps1 +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/__init__.py +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/extra_examples/500px-Kittyply_edit1.jpg +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/extra_examples/ImageExport.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/extra_examples/SVG_Logo.svg +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/extra_examples/VectorImageExport.qml +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/fonts/DejaVuSans-Bold.ttf +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/fonts/DejaVuSans-BoldOblique.ttf +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/fonts/DejaVuSans-Oblique.ttf +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/fonts/DejaVuSans.ttf +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/fonts/LICENSE +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/python_exporter.py +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/AllTheAxes.dat +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/AllTheAxes.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/AllTheAxes.svg +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/AllTheAxes_grab.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/BasicHistogram.dat +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/BasicHistogram.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/BasicHistogram.svg +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/BasicHistogram_grab.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/BasicSinGraph.dat +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/BasicSinGraph.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/BasicSinGraph.svg +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/BasicSinGraphNoPrefabs.dat +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/BasicSinGraphNoPrefabs.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/BasicSinGraphNoPrefabs.svg +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/BasicSinGraphNoPrefabs_grab.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/BasicSinGraph_grab.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/BuiltinColormaps.dat +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/BuiltinColormaps.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/BuiltinColormaps.svg +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/BuiltinColormaps_grab.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/ColorMappedImages.dat +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/ColorMappedImages.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/ColorMappedImages.svg +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/ColorMappedImages_grab.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/ColorMesh.dat +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/ColorMesh.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/ColorMesh.svg +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/ColorMesh_grab.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/Complex.dat +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/Complex.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/Complex.svg +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/Complex_grab.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/Contours.dat +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/Contours.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/Contours.svg +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/Contours_grab.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/Conway.dat +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/Conway.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/Conway.svg +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/Conway_grab.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/DarkSinGraph.dat +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/DarkSinGraph.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/DarkSinGraph.svg +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/DarkSinGraph_grab.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/DraggableRegion.dat +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/DraggableRegion.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/DraggableRegion.svg +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/DraggableRegion_grab.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/ImageAlignment.dat +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/ImageAlignment.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/ImageAlignment.svg +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/ImageAlignment_grab.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/ImageExport.dat +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/ImageExport.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/ImageExport.svg +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/ImageExport_grab.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/InvertedAxes.dat +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/InvertedAxes.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/InvertedAxes.svg +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/InvertedAxes_grab.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/LogGraph.dat +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/LogGraph.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/LogGraph.svg +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/LogGraph_grab.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/PeakButtons.dat +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/PeakButtons.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/PeakButtons.svg +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/PeakButtons_grab.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/ReadoutLine.dat +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/ReadoutLine.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/ReadoutLine.svg +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/ReadoutLine_grab.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/ScalingGraph.dat +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/ScalingGraph.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/ScalingGraph.svg +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/ScalingGraph_grab.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/Scatter.dat +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/Scatter.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/Scatter.svg +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/Scatter_grab.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/SpansAndLines.dat +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/SpansAndLines.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/SpansAndLines.svg +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/SpansAndLines_grab.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/Subgraphs.dat +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/Subgraphs.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/Subgraphs.svg +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/Subgraphs_grab.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/TwinX.dat +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/TwinX.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/TwinX.svg +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/TwinX_grab.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/VectorImageExport.dat +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/VectorImageExport.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/VectorImageExport.svg +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/VectorImageExport_grab.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/ZoomableAsImage.dat +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/ZoomableAsImage.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/ZoomableAsImage.svg +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/ZoomableAsImage_grab.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/ZoomableAxes.dat +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/ZoomableAxes.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/ZoomableAxes.svg +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/reference_images/ZoomableAxes_grab.png +0 -0
- {quickgraphlib-0.1.0a17 → quickgraphlib-0.1.0a18}/tests/test_exports.py +0 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// SPDX-FileCopyrightText: Copyright (c) 2024 Refeyn Ltd and other QuickGraphLib contributors
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
|
|
4
|
+
import QtQuick
|
|
5
|
+
import QtQuick.Shapes as QQS
|
|
6
|
+
|
|
7
|
+
/*!
|
|
8
|
+
\qmltype BarHorizontal
|
|
9
|
+
\inqmlmodule QuickGraphLib.GraphItems
|
|
10
|
+
\inherits QtQuick::Shapes::ShapePath
|
|
11
|
+
\brief Displays a horizontal bar for a bar graph.
|
|
12
|
+
*/
|
|
13
|
+
QQS.ShapePath {
|
|
14
|
+
id: root
|
|
15
|
+
|
|
16
|
+
/*!
|
|
17
|
+
The height (Y) of the bar in data coordinates.
|
|
18
|
+
*/
|
|
19
|
+
required property double barHeight
|
|
20
|
+
/*!
|
|
21
|
+
The length (X) of the bar in data coordinates.
|
|
22
|
+
*/
|
|
23
|
+
required property double barLength
|
|
24
|
+
|
|
25
|
+
/*!
|
|
26
|
+
Must be assigned the data transform of the graph area this axis is paired to.
|
|
27
|
+
|
|
28
|
+
\sa GraphArea::dataTransform
|
|
29
|
+
*/
|
|
30
|
+
required property matrix4x4 dataTransform
|
|
31
|
+
/*!
|
|
32
|
+
The X position of the bar in data coordinates.
|
|
33
|
+
*/
|
|
34
|
+
required property double position
|
|
35
|
+
/*!
|
|
36
|
+
The starting X position of the bar in data coordinates.
|
|
37
|
+
*/
|
|
38
|
+
property double xStart: 0
|
|
39
|
+
|
|
40
|
+
pathHints: QQS.ShapePath.PathLinear | QQS.ShapePath.PathConvex | QQS.ShapePath.PathSolid
|
|
41
|
+
|
|
42
|
+
PathRectangle {
|
|
43
|
+
readonly property point bottomRightPoint: dataTransform.map(Qt.point(barLength >= 0 ? xStart + barLength : xStart, position - barHeight / 2))
|
|
44
|
+
readonly property point topLeftPoint: dataTransform.map(Qt.point(barLength >= 0 ? xStart : xStart + barLength, position + barHeight / 2))
|
|
45
|
+
|
|
46
|
+
height: bottomRightPoint.y - topLeftPoint.y
|
|
47
|
+
width: bottomRightPoint.x - topLeftPoint.x
|
|
48
|
+
x: topLeftPoint.x
|
|
49
|
+
y: topLeftPoint.y
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// SPDX-FileCopyrightText: Copyright (c) 2024 Refeyn Ltd and other QuickGraphLib contributors
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
|
|
4
|
+
import QtQuick
|
|
5
|
+
import QtQuick.Shapes as QQS
|
|
6
|
+
|
|
7
|
+
/*!
|
|
8
|
+
\qmltype BarVertical
|
|
9
|
+
\inqmlmodule QuickGraphLib.GraphItems
|
|
10
|
+
\inherits QtQuick::Shapes::ShapePath
|
|
11
|
+
\brief Displays a vertical bar for a bar graph.
|
|
12
|
+
*/
|
|
13
|
+
QQS.ShapePath {
|
|
14
|
+
id: root
|
|
15
|
+
|
|
16
|
+
/*!
|
|
17
|
+
The height of the bar in data coordinates.
|
|
18
|
+
*/
|
|
19
|
+
required property double barHeight
|
|
20
|
+
/*!
|
|
21
|
+
The width of the bar in data coordinates.
|
|
22
|
+
*/
|
|
23
|
+
required property double barWidth
|
|
24
|
+
|
|
25
|
+
/*!
|
|
26
|
+
Must be assigned the data transform of the graph area this axis is paired to.
|
|
27
|
+
|
|
28
|
+
\sa GraphArea::dataTransform
|
|
29
|
+
*/
|
|
30
|
+
required property matrix4x4 dataTransform
|
|
31
|
+
/*!
|
|
32
|
+
The X position of the bar in data coordinates.
|
|
33
|
+
*/
|
|
34
|
+
required property double position
|
|
35
|
+
/*!
|
|
36
|
+
The starting Y position of the bar in data coordinates.
|
|
37
|
+
*/
|
|
38
|
+
property double yStart: 0
|
|
39
|
+
|
|
40
|
+
pathHints: QQS.ShapePath.PathLinear | QQS.ShapePath.PathConvex | QQS.ShapePath.PathSolid
|
|
41
|
+
|
|
42
|
+
PathRectangle {
|
|
43
|
+
readonly property point bottomRightPoint: dataTransform.map(Qt.point(position + barWidth / 2, barHeight >= 0 ? yStart : yStart - barHeight))
|
|
44
|
+
readonly property point topLeftPoint: dataTransform.map(Qt.point(position - barWidth / 2, barHeight >= 0 ? yStart + barHeight : yStart))
|
|
45
|
+
|
|
46
|
+
height: bottomRightPoint.y - topLeftPoint.y
|
|
47
|
+
width: bottomRightPoint.x - topLeftPoint.x
|
|
48
|
+
x: topLeftPoint.x
|
|
49
|
+
y: topLeftPoint.y
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
// SPDX-FileCopyrightText: Copyright (c) 2024 Refeyn Ltd and other QuickGraphLib contributors
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
|
|
4
|
+
import QtQuick
|
|
5
|
+
import QtQuick.Shapes as QQS
|
|
6
|
+
|
|
7
|
+
/*!
|
|
8
|
+
\qmltype BoxPLotVertical
|
|
9
|
+
\inqmlmodule QuickGraphLib.GraphItems
|
|
10
|
+
\inherits QtQuick::Shapes::ShapePath
|
|
11
|
+
\brief Displays a vertical box plot
|
|
12
|
+
*/
|
|
13
|
+
QQS.ShapePath {
|
|
14
|
+
id: root
|
|
15
|
+
|
|
16
|
+
/*!
|
|
17
|
+
The height of the box in data coordinates.
|
|
18
|
+
*/
|
|
19
|
+
required property double boxHeight
|
|
20
|
+
|
|
21
|
+
/*!
|
|
22
|
+
Must be assigned the data transform of the graph area this axis is paired to.
|
|
23
|
+
|
|
24
|
+
\sa GraphArea::dataTransform
|
|
25
|
+
*/
|
|
26
|
+
required property matrix4x4 dataTransform
|
|
27
|
+
/*!
|
|
28
|
+
The Y position of the plot in data coordinates.
|
|
29
|
+
*/
|
|
30
|
+
required property double position
|
|
31
|
+
/*!
|
|
32
|
+
The position of the Q0 whisker (minimum) in data coordinates.
|
|
33
|
+
*/
|
|
34
|
+
required property double quartile0
|
|
35
|
+
/*!
|
|
36
|
+
The position of the Q1 line (first quartile) in data coordinates.
|
|
37
|
+
*/
|
|
38
|
+
required property double quartile1
|
|
39
|
+
/*!
|
|
40
|
+
The position of the Q2 line (median) in data coordinates.
|
|
41
|
+
*/
|
|
42
|
+
required property double quartile2
|
|
43
|
+
/*!
|
|
44
|
+
The position of the Q3 line (third quartile) in data coordinates.
|
|
45
|
+
*/
|
|
46
|
+
required property double quartile3
|
|
47
|
+
/*!
|
|
48
|
+
The position of the Q4 whisker (maxiumum) in data coordinates.
|
|
49
|
+
*/
|
|
50
|
+
required property double quartile4
|
|
51
|
+
/*!
|
|
52
|
+
The height of the whiskers in data coordinates.
|
|
53
|
+
*/
|
|
54
|
+
required property double whiskerHeight
|
|
55
|
+
|
|
56
|
+
pathHints: QQS.ShapePath.PathLinear | QQS.ShapePath.PathSolid
|
|
57
|
+
|
|
58
|
+
PathMultiline {
|
|
59
|
+
paths: [[root.dataTransform.map(Qt.point(root.quartile0, root.position + root.whiskerHeight / 2)), root.dataTransform.map(Qt.point(root.quartile0, root.position - root.whiskerHeight / 2))], [root.dataTransform.map(Qt.point(root.quartile0, root.position)), root.dataTransform.map(Qt.point(root.quartile1, root.position))]]
|
|
60
|
+
}
|
|
61
|
+
PathRectangle {
|
|
62
|
+
readonly property point bottomRightPoint: root.dataTransform.map(Qt.point(root.quartile2, root.position - root.boxHeight / 2))
|
|
63
|
+
readonly property point topLeftPoint: root.dataTransform.map(Qt.point(root.quartile1, root.position + root.boxHeight / 2))
|
|
64
|
+
|
|
65
|
+
height: bottomRightPoint.y - topLeftPoint.y
|
|
66
|
+
width: bottomRightPoint.x - topLeftPoint.x
|
|
67
|
+
x: topLeftPoint.x
|
|
68
|
+
y: topLeftPoint.y
|
|
69
|
+
}
|
|
70
|
+
PathRectangle {
|
|
71
|
+
readonly property point bottomRightPoint: root.dataTransform.map(Qt.point(root.quartile3, root.position - root.boxHeight / 2))
|
|
72
|
+
readonly property point topLeftPoint: root.dataTransform.map(Qt.point(root.quartile2, root.position + root.boxHeight / 2))
|
|
73
|
+
|
|
74
|
+
height: bottomRightPoint.y - topLeftPoint.y
|
|
75
|
+
width: bottomRightPoint.x - topLeftPoint.x
|
|
76
|
+
x: topLeftPoint.x
|
|
77
|
+
y: topLeftPoint.y
|
|
78
|
+
}
|
|
79
|
+
PathMultiline {
|
|
80
|
+
paths: [[root.dataTransform.map(Qt.point(root.quartile3, root.position)), root.dataTransform.map(Qt.point(root.quartile4, root.position))], [root.dataTransform.map(Qt.point(root.quartile4, root.position + root.whiskerHeight / 2)), root.dataTransform.map(Qt.point(root.quartile4, root.position - root.whiskerHeight / 2))]]
|
|
81
|
+
}
|
|
82
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
// SPDX-FileCopyrightText: Copyright (c) 2024 Refeyn Ltd and other QuickGraphLib contributors
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
|
|
4
|
+
import QtQuick
|
|
5
|
+
import QtQuick.Shapes as QQS
|
|
6
|
+
|
|
7
|
+
/*!
|
|
8
|
+
\qmltype BoxPLotVertical
|
|
9
|
+
\inqmlmodule QuickGraphLib.GraphItems
|
|
10
|
+
\inherits QtQuick::Shapes::ShapePath
|
|
11
|
+
\brief Displays a vertical box plot
|
|
12
|
+
*/
|
|
13
|
+
QQS.ShapePath {
|
|
14
|
+
id: root
|
|
15
|
+
|
|
16
|
+
/*!
|
|
17
|
+
The width of the box in data coordinates.
|
|
18
|
+
*/
|
|
19
|
+
required property double boxWidth
|
|
20
|
+
|
|
21
|
+
/*!
|
|
22
|
+
Must be assigned the data transform of the graph area this axis is paired to.
|
|
23
|
+
|
|
24
|
+
\sa GraphArea::dataTransform
|
|
25
|
+
*/
|
|
26
|
+
required property matrix4x4 dataTransform
|
|
27
|
+
/*!
|
|
28
|
+
The X position of the plot in data coordinates.
|
|
29
|
+
*/
|
|
30
|
+
required property double position
|
|
31
|
+
/*!
|
|
32
|
+
The position of the Q0 whisker (minimum) in data coordinates.
|
|
33
|
+
*/
|
|
34
|
+
required property double quartile0
|
|
35
|
+
/*!
|
|
36
|
+
The position of the Q1 line (first quartile) in data coordinates.
|
|
37
|
+
*/
|
|
38
|
+
required property double quartile1
|
|
39
|
+
/*!
|
|
40
|
+
The position of the Q2 line (median) in data coordinates.
|
|
41
|
+
*/
|
|
42
|
+
required property double quartile2
|
|
43
|
+
/*!
|
|
44
|
+
The position of the Q3 line (third quartile) in data coordinates.
|
|
45
|
+
*/
|
|
46
|
+
required property double quartile3
|
|
47
|
+
/*!
|
|
48
|
+
The position of the Q4 whisker (maxiumum) in data coordinates.
|
|
49
|
+
*/
|
|
50
|
+
required property double quartile4
|
|
51
|
+
/*!
|
|
52
|
+
The width of the whiskers in data coordinates.
|
|
53
|
+
*/
|
|
54
|
+
required property double whiskerWidth
|
|
55
|
+
|
|
56
|
+
pathHints: QQS.ShapePath.PathLinear | QQS.ShapePath.PathSolid
|
|
57
|
+
|
|
58
|
+
PathMultiline {
|
|
59
|
+
paths: [[root.dataTransform.map(Qt.point(root.position - root.whiskerWidth / 2, root.quartile4)), root.dataTransform.map(Qt.point(root.position + root.whiskerWidth / 2, root.quartile4))], [root.dataTransform.map(Qt.point(root.position, root.quartile4)), root.dataTransform.map(Qt.point(root.position, root.quartile3))]]
|
|
60
|
+
}
|
|
61
|
+
PathRectangle {
|
|
62
|
+
readonly property point bottomRightPoint: root.dataTransform.map(Qt.point(root.position + root.boxWidth / 2, root.quartile2))
|
|
63
|
+
readonly property point topLeftPoint: root.dataTransform.map(Qt.point(root.position - root.boxWidth / 2, root.quartile3))
|
|
64
|
+
|
|
65
|
+
height: bottomRightPoint.y - topLeftPoint.y
|
|
66
|
+
width: bottomRightPoint.x - topLeftPoint.x
|
|
67
|
+
x: topLeftPoint.x
|
|
68
|
+
y: topLeftPoint.y
|
|
69
|
+
}
|
|
70
|
+
PathRectangle {
|
|
71
|
+
readonly property point bottomRightPoint: root.dataTransform.map(Qt.point(root.position + root.boxWidth / 2, root.quartile1))
|
|
72
|
+
readonly property point topLeftPoint: root.dataTransform.map(Qt.point(root.position - root.boxWidth / 2, root.quartile2))
|
|
73
|
+
|
|
74
|
+
height: bottomRightPoint.y - topLeftPoint.y
|
|
75
|
+
width: bottomRightPoint.x - topLeftPoint.x
|
|
76
|
+
x: topLeftPoint.x
|
|
77
|
+
y: topLeftPoint.y
|
|
78
|
+
}
|
|
79
|
+
PathMultiline {
|
|
80
|
+
paths: [[root.dataTransform.map(Qt.point(root.position, root.quartile1)), root.dataTransform.map(Qt.point(root.position, root.quartile0))], [root.dataTransform.map(Qt.point(root.position - root.whiskerWidth / 2, root.quartile0)), root.dataTransform.map(Qt.point(root.position + root.whiskerWidth / 2, root.quartile0))]]
|
|
81
|
+
}
|
|
82
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# file generated by vcs-versioning
|
|
2
|
+
# don't change, don't track in version control
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
__all__ = [
|
|
6
|
+
"__version__",
|
|
7
|
+
"__version_tuple__",
|
|
8
|
+
"version",
|
|
9
|
+
"version_tuple",
|
|
10
|
+
"__commit_id__",
|
|
11
|
+
"commit_id",
|
|
12
|
+
]
|
|
13
|
+
|
|
14
|
+
version: str
|
|
15
|
+
__version__: str
|
|
16
|
+
__version_tuple__: tuple[int | str, ...]
|
|
17
|
+
version_tuple: tuple[int | str, ...]
|
|
18
|
+
commit_id: str | None
|
|
19
|
+
__commit_id__: str | None
|
|
20
|
+
|
|
21
|
+
__version__ = version = '0.1.0a18'
|
|
22
|
+
__version_tuple__ = version_tuple = (0, 1, 0, 'a18')
|
|
23
|
+
|
|
24
|
+
__commit_id__ = commit_id = 'g4e72ebf27'
|
|
@@ -189,6 +189,82 @@ void exportPathElementToPainterPath(QObject* element, QPainterPath& path) {
|
|
|
189
189
|
else if (element->inherits("QQuickPathMove")) {
|
|
190
190
|
path.moveTo(element->property("x").toDouble(), element->property("y").toDouble());
|
|
191
191
|
}
|
|
192
|
+
else if (element->inherits("QQuickPathRectangle")) {
|
|
193
|
+
// Based on the Qt code in qtdeclarative/src/quick/util/qquickpath.cpp
|
|
194
|
+
auto bottomLeftBevel = element->property("bottomLeftBevel").toBool();
|
|
195
|
+
auto bottomRightBevel = element->property("bottomRightBevel").toBool();
|
|
196
|
+
auto topLeftBevel = element->property("topLeftBevel").toBool();
|
|
197
|
+
auto topRightBevel = element->property("topRightBevel").toBool();
|
|
198
|
+
auto bottomLeftRadius = element->property("bottomLeftRadius").toDouble();
|
|
199
|
+
auto bottomRightRadius = element->property("bottomRightRadius").toDouble();
|
|
200
|
+
auto topLeftRadius = element->property("topLeftRadius").toDouble();
|
|
201
|
+
auto topRightRadius = element->property("topRightRadius").toDouble();
|
|
202
|
+
auto strokeAdjustment = element->property("strokeAdjustment").toDouble();
|
|
203
|
+
auto height = element->property("height").toDouble();
|
|
204
|
+
auto width = element->property("width").toDouble();
|
|
205
|
+
auto x = element->property("x").toDouble();
|
|
206
|
+
auto y = element->property("y").toDouble();
|
|
207
|
+
|
|
208
|
+
auto rect = QRect(x, y, width, height);
|
|
209
|
+
auto halfStroke = strokeAdjustment * 0.5;
|
|
210
|
+
rect.adjust(halfStroke, halfStroke, -halfStroke, -halfStroke);
|
|
211
|
+
if (rect.isEmpty())
|
|
212
|
+
return;
|
|
213
|
+
|
|
214
|
+
// Radii must not exceed half of the width or half of the height
|
|
215
|
+
const qreal maxDiameter = qMin(rect.width(), rect.height());
|
|
216
|
+
const qreal diamTL = qMin(maxDiameter, 2 * topLeftRadius);
|
|
217
|
+
const qreal diamTR = qMin(maxDiameter, 2 * topRightRadius);
|
|
218
|
+
const qreal diamBL = qMin(maxDiameter, 2 * bottomLeftRadius);
|
|
219
|
+
const qreal diamBR = qMin(maxDiameter, 2 * bottomRightRadius);
|
|
220
|
+
|
|
221
|
+
path.moveTo(rect.left() + diamTL * 0.5, rect.top());
|
|
222
|
+
if (diamTR) {
|
|
223
|
+
if (!topRightBevel) {
|
|
224
|
+
// Rounded corners.
|
|
225
|
+
path.arcTo(QRectF(QPointF(rect.right() - diamTR, rect.top()), QSizeF(diamTR, diamTR)), 90, -90);
|
|
226
|
+
} else {
|
|
227
|
+
// Beveled corners.
|
|
228
|
+
path.lineTo(QPointF(rect.right() - diamTR * 0.5, rect.top()));
|
|
229
|
+
path.lineTo(QPointF(rect.right(), rect.top() + diamTR * 0.5));
|
|
230
|
+
}
|
|
231
|
+
} else {
|
|
232
|
+
// Regular corners.
|
|
233
|
+
path.lineTo(rect.topRight());
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
if (diamBR) {
|
|
237
|
+
if (!bottomRightBevel) {
|
|
238
|
+
path.arcTo(QRectF(QPointF(rect.right() - diamBR, rect.bottom() - diamBR), QSizeF(diamBR, diamBR)), 0, -90);
|
|
239
|
+
} else {
|
|
240
|
+
path.lineTo(QPointF(rect.right(), rect.bottom() - diamBR * 0.5));
|
|
241
|
+
path.lineTo(QPointF(rect.right() - diamBR * 0.5, rect.bottom()));
|
|
242
|
+
}
|
|
243
|
+
} else {
|
|
244
|
+
path.lineTo(rect.bottomRight());
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
if (diamBL) {
|
|
248
|
+
if (!bottomLeftBevel) {
|
|
249
|
+
path.arcTo(QRectF(QPointF(rect.left(), rect.bottom() - diamBL), QSizeF(diamBL, diamBL)), 270, -90);
|
|
250
|
+
} else {
|
|
251
|
+
path.lineTo(QPointF(rect.left() + diamBL * 0.5, rect.bottom()));
|
|
252
|
+
path.lineTo(QPointF(rect.left(), rect.bottom() - diamBL * 0.5));
|
|
253
|
+
}
|
|
254
|
+
} else {
|
|
255
|
+
path.lineTo(rect.bottomLeft());
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
if (diamTL) {
|
|
259
|
+
if (!topLeftBevel)
|
|
260
|
+
path.arcTo(QRectF(rect.topLeft(), QSizeF(diamTL, diamTL)), 180, -90);
|
|
261
|
+
else
|
|
262
|
+
path.lineTo(QPointF(rect.left(), rect.top() + diamTL * 0.5));
|
|
263
|
+
} else {
|
|
264
|
+
path.lineTo(rect.topLeft());
|
|
265
|
+
}
|
|
266
|
+
path.closeSubpath();
|
|
267
|
+
}
|
|
192
268
|
}
|
|
193
269
|
|
|
194
270
|
QBrush brushFromColorAndGradient(QVariant fillGradient, QVariant color, std::optional<QSizeF> simpleGradient) {
|
|
Binary file
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// SPDX-FileCopyrightText: Copyright (c) 2024 Refeyn Ltd and other QuickGraphLib contributors
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
|
|
4
|
+
/*!
|
|
5
|
+
\title Horizontal bar chart
|
|
6
|
+
\ingroup quickgraphlibdemos
|
|
7
|
+
\brief A simple horizontal bar chart
|
|
8
|
+
\example barchartHorizontal
|
|
9
|
+
|
|
10
|
+
\image examples/BarChartHorizontal.png
|
|
11
|
+
|
|
12
|
+
\quotefile examples/BarChartHorizontal.qml
|
|
13
|
+
*/
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
// SPDX-FileCopyrightText: Copyright (c) 2024 Refeyn Ltd and other QuickGraphLib contributors
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
|
|
4
|
+
import QtQuick
|
|
5
|
+
import QtQuick.Shapes as QQS
|
|
6
|
+
import QuickGraphLib as QuickGraphLib
|
|
7
|
+
import QuickGraphLib.GraphItems as QGLGraphItems
|
|
8
|
+
import QuickGraphLib.PreFabs as QGLPreFabs
|
|
9
|
+
|
|
10
|
+
QGLPreFabs.XYAxes {
|
|
11
|
+
id: axes
|
|
12
|
+
|
|
13
|
+
title: "Bar Chart (horizontal)"
|
|
14
|
+
viewRect: Qt.rect(0, 0, 160, 400)
|
|
15
|
+
xAxis.decimalPoints: 0
|
|
16
|
+
xLabel: "Number of things"
|
|
17
|
+
yAxis.decimalPoints: 0
|
|
18
|
+
yLabel: "Position"
|
|
19
|
+
|
|
20
|
+
QGLGraphItems.BarHorizontal {
|
|
21
|
+
barHeight: 50
|
|
22
|
+
barLength: 100
|
|
23
|
+
dataTransform: axes.dataTransform
|
|
24
|
+
fillColor: '#d10a0a'
|
|
25
|
+
position: 100
|
|
26
|
+
strokeColor: "black"
|
|
27
|
+
strokeWidth: 1
|
|
28
|
+
}
|
|
29
|
+
QGLGraphItems.BarHorizontal {
|
|
30
|
+
barHeight: 50
|
|
31
|
+
barLength: 30
|
|
32
|
+
dataTransform: axes.dataTransform
|
|
33
|
+
fillColor: '#cf6808'
|
|
34
|
+
position: 100
|
|
35
|
+
strokeColor: "black"
|
|
36
|
+
strokeStyle: QQS.ShapePath.DashLine
|
|
37
|
+
strokeWidth: 1
|
|
38
|
+
xStart: 100
|
|
39
|
+
}
|
|
40
|
+
QGLGraphItems.BarHorizontal {
|
|
41
|
+
barHeight: 50
|
|
42
|
+
barLength: 50
|
|
43
|
+
dataTransform: axes.dataTransform
|
|
44
|
+
fillColor: '#e7c609'
|
|
45
|
+
position: 100
|
|
46
|
+
strokeColor: "black"
|
|
47
|
+
strokeWidth: 1
|
|
48
|
+
xStart: 130
|
|
49
|
+
}
|
|
50
|
+
QGLGraphItems.BarHorizontal {
|
|
51
|
+
barHeight: 50
|
|
52
|
+
barLength: 20
|
|
53
|
+
dataTransform: axes.dataTransform
|
|
54
|
+
fillColor: '#d10a0a'
|
|
55
|
+
position: 300
|
|
56
|
+
strokeColor: "black"
|
|
57
|
+
strokeWidth: 1
|
|
58
|
+
}
|
|
59
|
+
QGLGraphItems.BarHorizontal {
|
|
60
|
+
barHeight: 50
|
|
61
|
+
barLength: 70
|
|
62
|
+
dataTransform: axes.dataTransform
|
|
63
|
+
fillColor: '#cf6808'
|
|
64
|
+
position: 300
|
|
65
|
+
strokeColor: "black"
|
|
66
|
+
strokeStyle: QQS.ShapePath.DashLine
|
|
67
|
+
strokeWidth: 1
|
|
68
|
+
xStart: 20
|
|
69
|
+
}
|
|
70
|
+
QGLGraphItems.BarHorizontal {
|
|
71
|
+
barHeight: 50
|
|
72
|
+
barLength: 150
|
|
73
|
+
dataTransform: axes.dataTransform
|
|
74
|
+
fillColor: '#e7c609'
|
|
75
|
+
position: 300
|
|
76
|
+
strokeColor: "black"
|
|
77
|
+
strokeWidth: 1
|
|
78
|
+
xStart: 90
|
|
79
|
+
}
|
|
80
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// SPDX-FileCopyrightText: Copyright (c) 2024 Refeyn Ltd and other QuickGraphLib contributors
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
|
|
4
|
+
/*!
|
|
5
|
+
\title Vertical bar chart
|
|
6
|
+
\ingroup quickgraphlibdemos
|
|
7
|
+
\brief A simple vertical bar chart
|
|
8
|
+
\example barchartVertical
|
|
9
|
+
|
|
10
|
+
\image examples/BarChartVertical.png
|
|
11
|
+
|
|
12
|
+
\quotefile examples/BarChartVertical.qml
|
|
13
|
+
*/
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
// SPDX-FileCopyrightText: Copyright (c) 2024 Refeyn Ltd and other QuickGraphLib contributors
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
|
|
4
|
+
import QtQuick
|
|
5
|
+
import QtQuick.Shapes as QQS
|
|
6
|
+
import QuickGraphLib as QuickGraphLib
|
|
7
|
+
import QuickGraphLib.GraphItems as QGLGraphItems
|
|
8
|
+
import QuickGraphLib.PreFabs as QGLPreFabs
|
|
9
|
+
|
|
10
|
+
QGLPreFabs.XYAxes {
|
|
11
|
+
id: axes
|
|
12
|
+
|
|
13
|
+
title: "Bar Chart (vertical)"
|
|
14
|
+
viewRect: Qt.rect(0, 0, 400, 160)
|
|
15
|
+
xAxis.decimalPoints: 0
|
|
16
|
+
xLabel: "Position"
|
|
17
|
+
yAxis.decimalPoints: 0
|
|
18
|
+
yLabel: "Number of things"
|
|
19
|
+
|
|
20
|
+
QGLGraphItems.BarVertical {
|
|
21
|
+
barHeight: 100
|
|
22
|
+
barWidth: 50
|
|
23
|
+
dataTransform: axes.dataTransform
|
|
24
|
+
fillColor: '#d10a0a'
|
|
25
|
+
position: 100
|
|
26
|
+
strokeColor: "black"
|
|
27
|
+
strokeWidth: 1
|
|
28
|
+
}
|
|
29
|
+
QGLGraphItems.BarVertical {
|
|
30
|
+
barHeight: 30
|
|
31
|
+
barWidth: 50
|
|
32
|
+
dataTransform: axes.dataTransform
|
|
33
|
+
fillColor: '#cf6808'
|
|
34
|
+
position: 100
|
|
35
|
+
strokeColor: "black"
|
|
36
|
+
strokeStyle: QQS.ShapePath.DashLine
|
|
37
|
+
strokeWidth: 1
|
|
38
|
+
yStart: 100
|
|
39
|
+
}
|
|
40
|
+
QGLGraphItems.BarVertical {
|
|
41
|
+
barHeight: 50
|
|
42
|
+
barWidth: 50
|
|
43
|
+
dataTransform: axes.dataTransform
|
|
44
|
+
fillColor: '#e7c609'
|
|
45
|
+
position: 100
|
|
46
|
+
strokeColor: "black"
|
|
47
|
+
strokeWidth: 1
|
|
48
|
+
yStart: 130
|
|
49
|
+
}
|
|
50
|
+
QGLGraphItems.BarVertical {
|
|
51
|
+
barHeight: 20
|
|
52
|
+
barWidth: 50
|
|
53
|
+
dataTransform: axes.dataTransform
|
|
54
|
+
fillColor: '#d10a0a'
|
|
55
|
+
position: 300
|
|
56
|
+
strokeColor: "black"
|
|
57
|
+
strokeWidth: 1
|
|
58
|
+
}
|
|
59
|
+
QGLGraphItems.BarVertical {
|
|
60
|
+
barHeight: 70
|
|
61
|
+
barWidth: 50
|
|
62
|
+
dataTransform: axes.dataTransform
|
|
63
|
+
fillColor: '#cf6808'
|
|
64
|
+
position: 300
|
|
65
|
+
strokeColor: "black"
|
|
66
|
+
strokeStyle: QQS.ShapePath.DashLine
|
|
67
|
+
strokeWidth: 1
|
|
68
|
+
yStart: 20
|
|
69
|
+
}
|
|
70
|
+
QGLGraphItems.BarVertical {
|
|
71
|
+
barHeight: 150
|
|
72
|
+
barWidth: 50
|
|
73
|
+
dataTransform: axes.dataTransform
|
|
74
|
+
fillColor: '#e7c609'
|
|
75
|
+
position: 300
|
|
76
|
+
strokeColor: "black"
|
|
77
|
+
strokeWidth: 1
|
|
78
|
+
yStart: 90
|
|
79
|
+
}
|
|
80
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// SPDX-FileCopyrightText: Copyright (c) 2024 Refeyn Ltd and other QuickGraphLib contributors
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
|
|
4
|
+
/*!
|
|
5
|
+
\title Box plots
|
|
6
|
+
\ingroup quickgraphlibdemos
|
|
7
|
+
\brief A simple showing horizontal and vertical box plots
|
|
8
|
+
\example boxplots
|
|
9
|
+
|
|
10
|
+
\image examples/boxplots.png
|
|
11
|
+
|
|
12
|
+
\quotefile examples/BoxPlots.qml
|
|
13
|
+
*/
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// SPDX-FileCopyrightText: Copyright (c) 2024 Refeyn Ltd and other QuickGraphLib contributors
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
|
|
4
|
+
import QtQuick
|
|
5
|
+
import QuickGraphLib as QuickGraphLib
|
|
6
|
+
import QuickGraphLib.GraphItems as QGLGraphItems
|
|
7
|
+
import QuickGraphLib.PreFabs as QGLPreFabs
|
|
8
|
+
|
|
9
|
+
QGLPreFabs.XYAxes {
|
|
10
|
+
id: axes
|
|
11
|
+
|
|
12
|
+
title: "Box plots"
|
|
13
|
+
viewRect: Qt.rect(0, 0, 500, 500)
|
|
14
|
+
xAxis.decimalPoints: 0
|
|
15
|
+
yAxis.decimalPoints: 0
|
|
16
|
+
|
|
17
|
+
QGLGraphItems.BoxPlotVertical {
|
|
18
|
+
boxWidth: 50
|
|
19
|
+
dataTransform: axes.dataTransform
|
|
20
|
+
fillColor: "green"
|
|
21
|
+
position: 100
|
|
22
|
+
quartile0: 20
|
|
23
|
+
quartile1: 140
|
|
24
|
+
quartile2: 190
|
|
25
|
+
quartile3: 380
|
|
26
|
+
quartile4: 400
|
|
27
|
+
strokeColor: "darkgreen"
|
|
28
|
+
strokeWidth: 3
|
|
29
|
+
whiskerWidth: 25
|
|
30
|
+
}
|
|
31
|
+
QGLGraphItems.BoxPlotHorizontal {
|
|
32
|
+
boxHeight: 50
|
|
33
|
+
dataTransform: axes.dataTransform
|
|
34
|
+
fillColor: "red"
|
|
35
|
+
position: 250
|
|
36
|
+
quartile0: 200
|
|
37
|
+
quartile1: 270
|
|
38
|
+
quartile2: 300
|
|
39
|
+
quartile3: 320
|
|
40
|
+
quartile4: 400
|
|
41
|
+
strokeColor: "darkred"
|
|
42
|
+
strokeStyle: QQS.ShapePath.DashLine
|
|
43
|
+
strokeWidth: 7
|
|
44
|
+
whiskerHeight: 150
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -68,6 +68,7 @@ build = [
|
|
|
68
68
|
]
|
|
69
69
|
before-all = "python ci/setup_qt.py"
|
|
70
70
|
repair-wheel-command = ""
|
|
71
|
+
audit-command = ""
|
|
71
72
|
build-frontend = "build"
|
|
72
73
|
test-command = "python {project}/ci/fixup_qt.py && pytest -sv {project}/tests --import-mode=append"
|
|
73
74
|
test-extras = ["analyse"]
|