summaryrefslogtreecommitdiffstats
path: root/plugins/declarative/declarativechart.h
Commit message (Collapse)AuthorAgeFilesLines
* Qt Charts project file structure changeTitta Heikkala2014-10-141-245/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-181-0/+5
| | | | | | | | | | | | - 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-171-1/+1
| | | | | | | | | | 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-171-0/+5
| | | | | | | | | | 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>
* Update copyright yearTitta Heikkala2014-05-131-1/+1
| | | | | | 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 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>
* Qt Commercial -> Qt EnterpriseMiikka Heikkinen2013-06-131-3/+3
| | | | | | | Also updated licenses. Change-Id: Ie14327305207e14879c1f1223219fcdfa1669dc0 Reviewed-by: Mika Salmela <mika.salmela@digia.com>
* Added API to set chart background roundnessMiikka Heikkinen2013-06-041-0/+4
| | | | | | | 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-031-0/+1
| | | | | Change-Id: Iab7a05c44026db9925fa0d68afd2b533b3ea2f91 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Further fixes to threaded renderingMiikka Heikkinen2013-05-131-0/+2
| | | | | | | | | - 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-131-0/+6
| | | | | Change-Id: Ia9bf896e1fb2684e4272547704924e5035f78268 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Add API to specify plot area background.Miikka Heikkinen2013-05-071-0/+4
| | | | | | | Task-number: http://jira.sc.local/browse/QTRD-1886 Change-Id: Ica9bd72482fdca14a81574087ba0ec4614169cd2 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Fix mouse events for QtQuick2Miikka Heikkinen2013-05-021-0/+10
| | | | | Change-Id: Ibb6b80765c6433a47670046ca72e156c697b1f97 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Generate charts plugin for QtQuick2 as well as QtQuick1Miikka Heikkinen2013-04-231-9/+29
| | | | | | | | Added quick2 versions of a couple of demos, too. Task-number: QTRD-1922 Change-Id: Ie3e2c1c40c38e06fc6d3afe27289eccc2f997f67 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* Add Polar chart supportMiikka Heikkinen2013-04-171-0/+4
| | | | | | | | | | This commit also heavily refactors things as polar chart needs separate implementation of various classes that previously only needed one, such as ChartAxis and ChartLayout. Task-number: QTRD-1757 Change-Id: I3d3db23920314987ceef3ae92879960b833b7136 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
* More copyright year changesMiikka Heikkinen2013-03-051-1/+1
|
* Fixed Qt5 specific issue with ChartView.createSeries series typesTero Ahola2012-12-131-2/+1
|
* Fixed a bug in ChartView.axes property when no series addedTero Ahola2012-11-271-6/+6
|
* Added axisXTop and axisYRight properties to QML series APIsTero Ahola2012-11-271-3/+15
|
* Some fixes for Qt5, vs2010 build and qmlJani Honkonen2012-11-261-1/+1
|
* Domains addedMarek Rosa2012-11-261-2/+2
|
* Fixing qml build for latest Qt5Jani Honkonen2012-11-081-6/+3
| | | | There is no quick1 module anymore. It is (again) called a declarative module.
* coding style fixes for pluginsJani Honkonen2012-09-251-5/+5
|
* Rename minimumMargins to margins in QML plugin version 1.2Michal Klocek2012-09-241-2/+7
|
* QML ChartView signals seriesAdded and seriesRemovedTero Ahola2012-09-171-1/+5
|
* Qt5: declarative fix part1Marek Rosa2012-09-121-1/+5
| | | | | | | - disabled demos examples and tests - disabled error on warning (QVector compilation issue: warning: dereferencing pointer '<anonymous>' does break strict-aliasing rules - disabled designer plugin - fixed the include files in plugins/declarative folder
* QML: Added possibility to define axes when creating seriesTero Ahola2012-09-041-0/+1
|
* Added removeSeries and removeAllSeries to QML APITero Ahola2012-09-031-1/+2
|
* Improved ChartView.minimuMargins implementationTero Ahola2012-09-031-10/+6
|
* Added ChartView.plotArea to QML APITero Ahola2012-08-311-0/+3
|
* Added ChartView.minimumMargins to QML propertiesTero Ahola2012-08-311-2/+8
|
* Removed a few unnecessary TODOsTero Ahola2012-08-291-2/+0
|
* Disabled anti-aliasing by default in declarative implTero Ahola2012-08-291-1/+0
|
* Implements minimumMarginsMichal Klocek2012-08-281-1/+1
| | | | | | | | | * adds mising margin implementation * setter and getter for minimumMargins * changes return values QMargins instead of QRectF * updates unit tests * QML TODO: not clear what should be handled there margins or plotArea * fixes chartlayout - minimum width of Axis is calculated
* Removed unneeded includes from declarative pluginTero Ahola2012-08-241-2/+1
|
* Refactored QML axis handlingTero Ahola2012-08-221-5/+6
|
* added horizontal barcharts to qmlchart demosauimone2012-08-221-1/+4
|
* Fixes missing update barcategoryMichal Klocek2012-07-041-4/+3
| | | | | * fixes qmlweather * qml axis returns as INVOCABLE
* Adds axis to qmlMichal Klocek2012-07-031-2/+7
| | | | | | * bunding is done in OnCompled * qmlchart fixed * addes setAxis, createDefaultAxes to qml
* GroupedBarSeries to BarSeriessauimone2012-07-031-1/+0
|
* Added value and category axis to QML apiTero Ahola2012-06-271-5/+1
|
* Refactors QAxis to QAbstractAxisMichal Klocek2012-06-261-5/+4
| | | | | | | | * adds subclasses QValuesAxis , QCategoriesAxis * barchart examples does not work correcly * failing tst_qchart * disabled custmchart example , tst_dataset * setNiceNumbers moved to TODO in examples and demos
* Added property definitions to QChartTero Ahola2012-06-251-2/+18
|
* QML methods of series: several fixes and documentationTero Ahola2012-06-211-4/+6
|
* Add qml Font properties & docsJani Honkonen2012-06-211-0/+3
|
* color and borderColor properties to XY charts; removed unnecessary signalsTero Ahola2012-06-181-6/+3
|
* Minor modifications to properties of abstract, area and bar seriesTero Ahola2012-06-151-1/+1
|
* QML ChartView scrolling, zooming, drop shadowTero Ahola2012-06-141-1/+10
|
* Qml ChartView properties; legend to use Qt alignmentsTero Ahola2012-06-011-19/+22
|