summaryrefslogtreecommitdiffstats
path: root/examples/charts
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Fix qmlcustomizations exampleMiikka Heikkinen2016-08-251-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the interval coefficient was under 0.25, it resulted as zero interval for the timer, stopping the animation. The blinking after animation stopped was also broken, as using var as a temporary color store doesn't work due to var assignments being by reference. Using a separate color property instead of var works around this issue. Task-number: QTRD-2170 Change-Id: I7224ff259a076da3c6e5e6e66bc0c3031aa1dda6 Reviewed-by: Mika Salmela <mika.salmela@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* | | Fix antialiasing support of OpenGL accelerated seriesMiikka Heikkinen2016-08-172-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OpenGL accelerated series are now antialiased similarly to non-accelerated series. Task-number: QTRD-2172 Change-Id: Ie8bc014c82d5fa645cf41ab56bebb99fcf8ad301 Reviewed-by: Mika Salmela <mika.salmela@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* | | Added candlestick chart typeAlexander Mishin2016-05-2511-0/+402
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - added QCandlestickSeries - added QCandlestickSet - added QCandlestickLegendMarker - added model mappers - added Candlestick, CandlestickChartItem, CandlestickData - added SeriesTypeCandlestick to SeriesType enum - added LegendMarkerTypeCandlestick to LegendMarkerType enum - added candlestick chart example - added QML candlestick chart example - added candlestick tester - added autotests - added documentation [ChangeLog][CandlestickChart] Added new chart type: Candlestick Chart. Task-number: QTBUG-50544 Change-Id: I17d18dfa23e0ea209bf51ab1e349585b9cb50a8f Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* | No longer automatically disable QDateTimeAxis on ARM platformsMiikka Heikkinen2016-02-031-1/+1
| | | | | | | | | | | | | | | | | | | | QDateTimeAxis is now only disabled on platforms that define qreal as float. Change-Id: I08d393d328c972d74b27bd218e4cd01e844800c9 Reviewed-by: Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by: Mika Salmela <mika.salmela@theqtcompany.com> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* | Updated licenseMiikka Heikkinen2016-01-13150-1350/+2550
|/ | | | | | Change-Id: I7ad9838039b56b9e3a7fe2c42a2d8ff818f393fb Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Use Item instead of Rectangle as a background item where possibleMiikka Heikkinen2015-10-3027-27/+27
| | | | | | | | Using Rectangle as background is not recommended if it is only for color. It is more efficient to simply set the window color. Change-Id: I3447ca394d74fa415bde4e9d2f210c81f354555e Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com>
* Updated license headersTitta Heikkala2015-10-20150-1656/+2106
| | | | | Change-Id: Ic72ee3c9723c2b3f3368c79219b7468f5d95aa84 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Made Qml Oscilloscope example little more sensibleMiikka Heikkinen2015-09-303-27/+14
| | | | | | | | Removed spline and animations as the point of the example is to demonstrate high refresh rate use case. Also now default to useOpenGL. Change-Id: Iaf43bd8789893a9ed9bc409038e7d22d1bd7185d Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com>
* Fix issues based on android testingMiikka Heikkinen2015-09-283-5/+7
| | | | | | | | | -Some includes were missing -Widgets got on top of each other on openglSeries example -qmloscilloscope didn't show button texts properly Change-Id: I96cb64091275269f73d2a569ff53c2baae8b0f66 Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com>
* Accelerating lineseries with OpenGLMiikka Heikkinen2015-09-2510-15/+407
| | | | | | | | | | | | Added support for QAbstractSeries::useOpenGL property. When true, the series in question is drawn on a separate offscreen buffer using OpenGL and then superimposed on the chart. Currently this property is only supported for line and scatter series. Change-Id: I174fec541f9f3c23464270c1fe08f824af16a0fb Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com> Reviewed-by: Tomi Korpipää <tomi.korpipaa@theqtcompany.com>
* Add QXYSeries::replace(QVector<QPointF> points) overload.Miikka Heikkinen2015-09-072-4/+5
| | | | | | Task-number: QTRD-3384 Change-Id: Ic7dcdfeadd3f5c7ba66191f8c427a0d65796895d Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com>
* Fix build against 5.6Miikka Heikkinen2015-09-031-1/+1
| | | | | | | | | Took Q_SIGNALS and Q_SLOTS macros into use where required. Fixed chartsnamespace.h header for regular builds. Task-number: QTRD-3609 Change-Id: I4bae1b88829105b60c8c1cf3b2e109da955f2328 Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com>
* Copyright header changesTitta Heikkala2015-04-23147-441/+441
| | | | | | | Copyright header changes for Qt 5.5. Change-Id: I2b8e9356997de2c87a7436bcefd4d0948d566259 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Fix compilation with namespaced Qt.Christian Kandeler2015-04-0110-3/+26
| | | | | Change-Id: I359bbf5c89bd23bb1b6db1aeed8a2a4aa2ca12bf Reviewed-by: Andre Poenitz <andre.poenitz@theqtcompany.com>
* Fix check for multimedia modulerelease-2.0.0Titta Heikkala2014-12-041-1/+1
| | | | | | | In charts.pro the check for multimedia module was outdated. Change-Id: I32fdb95a24cc59e18eda8966f693931754d56296 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Remove theme setting from StackedBarChart Drilldown exampleTitta Heikkala2014-11-281-1/+0
| | | | | | | | The theme previously set for this example made it really slow on Android. Therefore the theme setting is removed. Change-Id: Ia454cdce2ebecfdd24ce9d91f1b8cb63fdb86be3 Reviewed-by: Mika Salmela <mika.salmela@theqtcompany.com>
* Improve QML Weather example layoutTitta Heikkala2014-11-281-8/+9
| | | | | | | | The size of the images is adjusted based on the window size. Change-Id: Ib575288456d6773e00ee740b7b0be6a392c9eeaa Task-number: QTRD-3444 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Fix donutbreakdown exampleTitta Heikkala2014-11-261-1/+1
| | | | | | | | Using static member in a function made compilation fail. Change-Id: I5aff56e331ca5d4a977342cfa7dfa9017857478c Task-number: QTRD-3437 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Remove deprecated elements from APIs.Miikka Heikkinen2014-11-121-1/+1
| | | | | | | Task-number: QTRD-2098 Change-Id: Ib658c8a51af0b73ded5d6b13c8fa58762f859961 Reviewed-by: Mika Salmela <mika.salmela@theqtcompany.com> Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com>
* Updated license headersTitta Heikkala2014-11-12147-1323/+1029
| | | | | | | Updated new license headers and added missing ones to qdoc files. Change-Id: I9f2af2a8b44c3ebf19fd494628dfaa8775a47b06 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Add pressed, released and doubleClicked signalsTitta Heikkala2014-11-121-1/+1
| | | | | | | | | Added pressed, released and doubleClicked signals for all series. The signals are also added to QPieSlice and QBoxPlotSet. Change-Id: If94948be439a3b53ed48c02d0092091e836222a4 Task-number: QTRD-2384 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Plugged some memory leaks.Miikka Heikkinen2014-11-114-5/+15
| | | | | | | | | | | Autotests were also made Valgrind friendly by adding a final one millisecond wait to the end of the test to allow pending deleteLaters to run. Also some minor cosmetic cleanup done to autotests. Change-Id: Ic3719167a22949f243eaf54614e174a681dbe34a Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com>
* Fix include syntaxTitta Heikkala2014-10-2097-396/+397
| | | | | | | | | The includes for the whole project are changed to syntax: '#include <module/class> Change-Id: If32f8b6c3f47516ad6bc30ed40789ea9042d5664 Task-number: QTRD-3373 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Qt Charts project file structure changeTitta Heikkala2014-10-14211-0/+12046
Charts repository structure is changed to follow the structure of a Qt Add-On module. The task includes following changes: - All macros and definitions named 'commercial' have been renamed. - Compile errors related to QString and qSort usage have been fixed. - Old demos are moved under examples. The QML examples now support only Qt Quick 2.0, the support for Qt Quick 1 is removed. - The QML examples with multiple views are updated so that they are usable also with touch devices. - Unnecessary version checks are removed from examples. - The build stamp has been removed as it was only meant for Charts development purposes and it's no longer needed. Also development build related debug prints are removed as __DATE__ can't be used for all OS thus it doesn't make much sense. - Documentation structure has been updated based on the new module structure. The raw HTML files have been removed. Demos are combined to examples. - Unnecessary .qdocinc files are no longer needed. The content is moved to the corresponding .cpp files. - The Charts widget designer plugin is updated according to the module change. - The test cases updated according to the project structure change. Tests are added also for version 2.0. - cmake modules generation is not needed with Qt 5.4 and Qt Charts so it's disabled. - The new module name and version are updated to the plugin.qmltypes file. Task-number: QTRD-2844, QTRD-3217, QTRD-3218, QTRD-3277, QTRD-3228, QTRD-2526, QTRD-3233, QTRD-3222 Change-Id: Ib7fb26057cde710ffaf6bc780c8bf52a16f45160 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>