summaryrefslogtreecommitdiffstats
path: root/plugins
Commit message (Collapse)AuthorAgeFilesLines
* Add cmake buildMichal Klocek2021-01-063-0/+85
| | | | | | Task-number: QTBUG-89091 Change-Id: Ie511e6bc262f197b2c21e52ec7696a0d50e06d18 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Remove charts namespace for Qt6Michal Klocek2020-11-061-14/+4
| | | | | | | | | This auto refactor to remove charts namespace, just use qt one. [ChangeLog] Use QT_NAMESPACE as other modules. Change-Id: I7722ed2ff5cd84c594ea96db15e5df50a24f06b4 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Updated licenseMiikka Heikkinen2016-01-132-18/+34
| | | | | | Change-Id: I7ad9838039b56b9e3a7fe2c42a2d8ff818f393fb Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Updated license headersTitta Heikkala2015-10-202-22/+28
| | | | | Change-Id: Ic72ee3c9723c2b3f3368c79219b7468f5d95aa84 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@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-232-6/+6
| | | | | | | Copyright header changes for Qt 5.5. Change-Id: I2b8e9356997de2c87a7436bcefd4d0948d566259 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Update license headersTitta Heikkala2014-11-142-18/+14
| | | | | | | Updated new license headers to files that weren't yet updated. Change-Id: I193f5e46e019b5f82f0a333ee5d883fa193c2b20 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Fix designer plugin targetTitta Heikkala2014-10-231-1/+1
| | | | | | | | | The distinction between release and debug dlls for the Charts designer plugin is done by adding 'd' to the dll name for debug version. Change-Id: I7f3a52c94360889452e28a639fadab53b784ce60 Task-number: QTRD-1846 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Fix include syntaxTitta Heikkala2014-10-202-2/+2
| | | | | | | | | 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-1441-7612/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Misc fixesMiikka Heikkinen2014-09-183-1/+91
| | | | | | | | | | | | - Default value for localizeNumbers is now false, as it would look weird if numbers were localized in otherwise unlocalized app. - Added locale property to qml ChartView. - Added registrations for latest revisions of all QML types for 2.0, since apparently this is necessary to make them visible when importing Charts 2.0 Change-Id: I46997b3af4458c6dbf6755a19e01115d5393013a Reviewed-by: Titta Heikkala <titta.heikkala@digia.com>
* Added QChart::locale propertyMiikka Heikkinen2014-09-172-2/+2
| | | | | | | | | | This locale is used for localizing the numbers on various labels when localizeNumbers is set to true. It is also the locale that QDateTimeAxis labels use for month and day names. Task-number: QTRD-3179 Change-Id: Ib9a9cad770c5a6890311fe45a1d4cabd5f40aff4 Reviewed-by: Mika Salmela <mika.salmela@digia.com>
* Added QChart::localizeNumbersMiikka Heikkinen2014-09-173-0/+28
| | | | | | | | | | When this property is true, the default QLocale is used to convert various values to strings for series and axis labels instead of corresponding QString functions, which always use "C" locale. Task-number: QTRD-3231 Change-Id: I95a936ae6d49c2589a7c53a481fd850c90846ae4 Reviewed-by: Titta Heikkala <titta.heikkala@digia.com>
* Add QVBoxPlotModelMapper and QBoxPlotModelMapper as types for QtQuick 2Andy Shaw2014-09-102-1/+45
| | | | | Change-Id: I2683c981acee51d9929234d79e7da100cfc6a608 Reviewed-by: Titta Heikkala <titta.heikkala@digia.com>
* Fix compilation on platforms without QtQuick1Maurice Kalinowski2014-06-161-1/+3
| | | | | | | | | WinRT is one of those, but you might want to configure Qt in that way also on other platforms. Change-Id: I40e5d0b8bc0c347f058d5f30d64ddbf55653f904 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by: Titta Heikkala <titta.heikkala@digia.com>
* Add invokable clear() for QML bar category axisTitta Heikkala2014-05-301-0/+1
| | | | | | | | Changed clear() method to invokable for QBarCategoryAxis. Task-number: QTRD-2631 Change-Id: I0aa00a44ae5c6bd5b59ecf630d938b5cc484f62e Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Added possibility to show series valueTitta Heikkala2014-05-271-0/+59
| | | | | | | | | | | For line, spline and scatter series it is possible to show the point values above the point. The format, color and the font of the label can be set. For bar series the format and position of the value label can be set. Task-number: QTRD-2808 Change-Id: I0488d98c4d9060eaa8331e5b3c97dc83d86aeb0c Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Update copyright yearTitta Heikkala2014-05-1332-32/+32
| | | | | | Task-number: QTRD-3083 Change-Id: Ide516e5299d2363953d46bf9dc5e2f9ec277154e Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Fix DeclarativeChart::legend propertyTitta Heikkala2014-05-121-1/+1
| | | | | | | | | The DeclarativeChart::legend property should be marked as CONSTANT because the legend can't be changed. This is to avoid unnecessary message about a dependency to non-NOTIFYable property. Change-Id: Ib7c832b3fcb034602e4c3271c211ab2fe9cdd076 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Add count property for QBoxPlotSeriesTitta Heikkala2014-05-052-1/+5
| | | | | | | | Changed set count to property for QBoxPlotSeries. Task-number: QTRD-2504 Change-Id: Id65e0b2b6e43b3a6330fbb21c66e1cfa4d0db3d2 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Add possibility to set brush image via QML APITitta Heikkala2014-05-0212-29/+370
| | | | | | | | | User can set a brush image for AreaSeries, BarSet, BoxPlotSeries, BoxSet, PieSlice and ScatterSeries by specifying 'brushFilename'. Task-number: QTRD-2603 Change-Id: Ie4b75cec1f64da513b1b85749c28984cb7f88e38 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Fix build for iOS and for building the QtQuick 2 plugin staticallyAndy Shaw2014-04-114-4/+6
| | | | | | | | | | When building statically then static will be set not staticlib, therefore we need to ensure we check for static in those cases. And also protect against Mac specific flags when building for iOS. Task-number: QTRD-3036 Change-Id: Ib2c534974ad9292e3634b8b692344c71e26e56cd Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Fix setting values for BarSet using Qt.pointTitta Heikkala2014-04-081-3/+27
| | | | | | | | | It should be possible to set the values for a BarSet also as Qt.point as documented. Task-number: QTRD-2437 Change-Id: I1f9eb045b6abc155345cf703854d7d120d8270f8 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Add possibility to set markers in legend in reverse orderTitta Heikkala2014-04-041-0/+5
| | | | | | | | | Added new property for legend which defines whether the markers in legend are shown in reverse order or not. Task-number: QTRD-2512 Change-Id: Ia6e6551be74a183c9f544d7cb9fff679150f4d7e Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Install the plugins.qmltypes file as it is not possible to generateAndy Shaw2014-03-282-0/+2120
| | | | | | | | | Since it relies on QtWidgets for Qt Quick 2 then qmlplugindump is unable to generate the plugins.qmltypes file on request by Qt Creator. So we create it ourselves and copy it when installing the qmldir file. Change-Id: I04370687ad18cd2fc03f65ffdf228800d4f2eaaa Reviewed-by: Titta Heikkala <titta.heikkala@digia.com>
* Fix documentation pathsTitta Heikkala2013-11-016-7/+7
| | | | | | | | | The paths for qdocinc files and for images has been fixed so that creating the documentation works also for Mac. Task-number: QTRD-2492 Change-Id: Ibfefd06dfb4d85bbdb10b400aadda204ad50c21a Reviewed-by: Mika Salmela <mika.salmela@digia.com>
* Fix Android buildTitta Heikkala2013-10-311-1/+1
| | | | | | | | | Visibility attribute is not supported for Android X86. Therefore it's removed for android. Replace the slashes for declarative directories to copy files correctly. Change-Id: I4be8a70cb7ef8f89040e455a61d27c2bb08d0a4d Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Fix Charts documentationTitta Heikkala2013-10-287-192/+80
| | | | | | | | | | | The documentation structure is changed so that it can be generated with both Qt5 and Qt4. Also the erroneous VBarModelMapper is removed from VBoxPlotModelMapper documentation. Task-number: QTRD-2492, QTRD-2495 Change-Id: I45028915ca55f6ff1170db58518a8f08ac4158fb Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Fix ChartView documentationTitta Heikkala2013-10-151-0/+4
| | | | | | | | | The documentation was missing remarks of deprecated properties. A warning of using deprecated property is triggered when the property in question is accessed therefore the documentation should mention it. Change-Id: I5efa185fceb85a9375e41297ab18ce002f3239ed Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Add new Qt theme templateTitta Heikkala2013-10-041-1/+2
| | | | | | | | | Added new theme template ChartThemeQt. The colors are the ones used in official Qt documentation. Task-number: QTRD-1924 Change-Id: I2bb2d33b0198cad6275244d2e815908a2db033a3 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Doc: language review of Qt Charts docNico Vertriest2013-09-161-8/+8
| | | | | Change-Id: I6bdf7b64851d1f0e2b98f37cbf9844aeb205bed1 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Fix dynamic qml axis switchTitta Heikkala2013-08-141-4/+16
| | | | | | | | The axis is set so that previously attached axes are deleted. Task-number: QTRD-1936 Change-Id: I4fc486b3f2552eea168ba5fb44c1b82f1c5ebad0 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Initialize m_updatePendingrelease-1.3.0Heikkinen Miikka2013-06-191-0/+1
| | | | | | | | | No explicit initialization resulted in this sometimes initializing to true, which caused chart to never draw in multithreaded rendering environments (linux/mac) Change-Id: I5c9a4eb54c0a4aef7c1df171aa04d4b8c4c7fe05 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Property to control box widthMika Salmela2013-06-171-0/+10
| | | | | | | | | Also fix bounding rect to get rid of some pen width related drawing artifacts. Change-Id: Ib498545cecd497d845031a3ccba572a9cba8e91d Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com> Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Fix various documentation issuesMiikka Heikkinen2013-06-172-4/+2
| | | | | Change-Id: I0963abda42a8273f058d51b3095740357f276ce9 Reviewed-by: Mika Salmela <mika.salmela@digia.com>
* Fix case issue causing docs build to fail in linuxHeikkinen Miikka2013-06-131-1/+1
| | | | | Change-Id: Ie3e4d0797927c3d2cacb1f5ccc4d1662b247d695 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* In QML axisXTop didn't go topMika Salmela2013-06-131-1/+1
| | | | | | | | It looked like the signal was connected to wrong slot. Probably copy&paste bug. Change-Id: Ie4887970891f3b902b71fb0b686c4adbbc1d48b1 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Remove TODOsMiikka Heikkinen2013-06-131-3/+0
| | | | | | | | No need to bring these back after release, tasks were created in JIRA for relevant TODOs. Change-Id: I4cf5fb09276ee720000329b9ac2a48021cfe0830 Reviewed-by: Mika Salmela <mika.salmela@digia.com>
* Qt Commercial -> Qt EnterpriseMiikka Heikkinen2013-06-1332-96/+96
| | | | | | | Also updated licenses. Change-Id: Ie14327305207e14879c1f1223219fcdfa1669dc0 Reviewed-by: Mika Salmela <mika.salmela@digia.com>
* Selectable outlines for boxMika Salmela2013-06-121-0/+221
| | | | | Change-Id: Ic31fa26f914baaa6c26f52c73ca4328ec7523581 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Fix Qt5 building of quick2 pluginMiikka Heikkinen2013-06-042-8/+21
| | | | | | | Recent boxplot changes broke the build. Change-Id: I59a6215220a4fb018bb3c6a9674b4f82cd6fc62c Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Added API to set chart background roundnessMiikka Heikkinen2013-06-042-0/+22
| | | | | | | Task-number: QTRD-1631 Change-Id: I8ac70b5ed157211b90aa1c9ef3d168bca78fb27c Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* A new box-and-whiskers series type added to charts.Mika Salmela2013-06-036-2/+259
| | | | | Change-Id: Iab7a05c44026db9925fa0d68afd2b533b3ea2f91 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Further fixes to threaded renderingMiikka Heikkinen2013-05-132-10/+39
| | | | | | | | | - Antialiasing should now work with threaded rendering - Optimize rendering to use old way if single threaded case is detected. Change-Id: I6de87cbd04c108eae7ee55c5a0e27dd5fc07db89 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Fix quick2 support with multithreaded scenegraph rendering.Heikkinen Miikka2013-05-132-3/+49
| | | | | Change-Id: Ia9bf896e1fb2684e4272547704924e5035f78268 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Remove designer plugin from default build.Miikka Heikkinen2013-05-081-5/+0
| | | | | | | | | Most people have no use for designer plugin, and it is not even maintained anymore. Furthermore, it typically breaks the build on all cross-compiled platforms. Change-Id: Iea1592c68c71adcca0051861a18a832e620c93fc Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Add API to specify plot area background.Miikka Heikkinen2013-05-073-0/+29
| | | | | | | Task-number: http://jira.sc.local/browse/QTRD-1886 Change-Id: Ica9bd72482fdca14a81574087ba0ec4614169cd2 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Implement index based removing/replacing points in seriesMiikka Heikkinen2013-05-025-0/+22
| | | | | | | Task-number: QTRD-1952 Change-Id: I50d374a07506814007d5bd9aeb8921165ea500fa Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Fix mouse events for QtQuick2Miikka Heikkinen2013-05-022-1/+91
| | | | | Change-Id: Ibb6b80765c6433a47670046ca72e156c697b1f97 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* QML support for LogValueAxisMiikka Heikkinen2013-04-262-0/+6
| | | | | | | Task-number: QTRD-1921 Change-Id: I79636832e80c81fe3c7b4687760a87af1b95809b Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>