| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added QML designer plugin for Charts. It's possible now to add all
possible series in ChartView and PolarChartView type. The properties
of ChartView and PolarChartView can be set via the QML designer. The
properties of the series are not editable via the QML designer.
Change-Id: I51cd6bf5bd33cd8d0f7b7f2fb992e7963e344dae
Task-number: QTRD-3356
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
Previous fix broke mingw builds, as they are bit more picky
about the LIBS syntax.
Change-Id: Icf40e64cd7d1e6185476191f7b7148a712a5ae6f
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: Ia22d630ba4361624dfef93ee2923a33e162f4601
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
|
|
|
|
|
|
| |
Change-Id: I7120390b18ac78e5933939f489d959514b557e6d
Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
This allows publishing autotests. Git export attributes changed
accordingly.
Change-Id: I6db2eb52dabdb8f12e0bc2a992a873abfa15b1a5
Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I477f15192c406572f26d4c1d2fa9497d0ddad230
Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com>
|
|
|
|
|
|
|
| |
Missing include cased build errors on android.
Change-Id: I974cce869b41972e0992fe212672d6128521fe06
Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
There's no need to check if the major Qt version is higher than 4
because from now on Charts is supported from Qt 5.4.
Change-Id: I7addcb19e5c774ce9835a0f7c6150d9e3bc0404a
Task-number: QTRD-2844
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
Auto test required for cmake are added to Charts.
Change-Id: I00f63502214e086c15e49b168160323f5f40fbd0
Task-number: QTRD-2874
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
| |
If chart is zoomed only horizontally or vertically then the range for
the other direction should not change. This is now checked by comparing
the minimum and maximum values to the axis span.
Change-Id: Icb5e14fc41afcedd7f75e60ca3ad6f699b053ae7
Task-number: QTRD-3399
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
The QML types documented in chartsqml2 project are added to the
documentation.
Change-Id: I3780566aad820e73d2ff17be1f9fe7dda9aa3a69
Task-number: QTRD-3228
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
| |
A new hovered signal that provides index information has been added for
bar chart (QTRD-2161). The old hovered signal has now been removed.
Change-Id: Ia65be1c363cbfda942d48bceb5326bd54a3c35ec
Task-number: QTRD-2199
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
Reviewed-by: Mika Salmela <mika.salmela@theqtcompany.com>
|
|
|
|
|
|
|
| |
Fixed drop down selection for missing QML types in assistant.
Change-Id: Idd0aaa2a33d7df8ab5d14a332da051c4ac99d2ef
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
The QML side of Charts should not be built when Qt quick module is not
present.
Change-Id: Id48fe3c50f365ad195c90da6364d27afd97b90e2
Task-number: QTRD-3273
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
|
|
|
|
|
|
| |
Task-number: QTRD-1945
Change-Id: I5cf04319ae2e4e9da1122be888c3c3e49928c748
Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
Partial spans at the chart edges are now shaded properly.
Task-number: QTRD-1940
Change-Id: Ibe03a2b9638ccb16d9c8c9bc7f2a0f924a7115d4
Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
The labels are now created only for the categories within the current
range.
Change-Id: I1f1b5c9245254b18c87f810986e29d73a1a7a72e
Task-number: QTRD-3016
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
QAbstractAxis::AxisTypes is declared as QFlags, but the values weren't
OR-able.
Task-number: QTRD-1998
Change-Id: I4def5f1a4a8c2b3b944d212fd5a637f8696da7e6
Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
| |
Now attaching same axis to multiple series is possible without
spawning an extraneous default axis.
Task-number: QTRD-3321
Change-Id: I561b3ca5c814e3046ed4078a2070e2c3e6ddf030
Reviewed-by: Mika Salmela <mika.salmela@theqtcompany.com>
Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
Q_REVISION macros are only needed on invokables and signals.
They are not needed on the properly revisioned property
accessors.
Change-Id: I3f30ae8f49c38ba266e1c6f091d39a045939a960
Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
| |
The plotArea property was also introduced, though it was previously
available via getter function.
The signal with same name on QML side was linked to the new signal.
Task-number: QTRD-3330
Change-Id: I8d985762194800e1b8743d0a7429ef4d0356bd98
Reviewed-by: Mika Salmela <mika.salmela@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
The label format for axis can now be set so that there's a separator for
thousands, for example, with setLabelFormat("%'5.2f")
Change-Id: Ic159776039d04a91a7ccf648800bd9720c41246e
Task-number: QTRD-3347
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
Using std:sort causes warning C4267 in 64bit msvc builds, because
size_t and int are of different size. There should never be a case
where list indexes grow so large that this causes problems, so
just suppress the warning.
Change-Id: I0e4904f88542178177afc51a82bbbd18b094eb32
Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
Instead of using qFuzzyIsNull to detect if domain is empty use
qFuzzyCompare. This will make it possible to draw axises with small
ranges.
Change-Id: Iea39f74e3eb317f20aab3061cd942cafca9ef08a
Task-number: QTRD-3296
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
|
|
|
|
|
|
| |
- The default bar/boxplot categories were not localized.
- Might as well support "%i" format, as it is equivalent to "%d",
and some of our own examples use it.
- If precision is not specified in the label format, default to
six instead of zero.
Change-Id: I937b6a76128fc506d8db4b9974569e590d85ac5f
Reviewed-by: Titta Heikkala <titta.heikkala@digia.com>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
The detection of overlapping items has been corrected. By default, item
text is truncated thus only the ellipsis can overlap.
Change-Id: I856f440184006b91c23e44d63ddef5b1796f38a1
Task-number: QTRD-3310
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
|
|
|
|
|
| |
Change-Id: I2683c981acee51d9929234d79e7da100cfc6a608
Reviewed-by: Titta Heikkala <titta.heikkala@digia.com>
|
|
|
|
|
|
|
|
| |
This is needed especially for iOS as the library names are modified for
the simulator
Change-Id: I8be427e4be582b74b835ec1498e9e9dfec991dab
Reviewed-by: Titta Heikkala <titta.heikkala@digia.com>
|
|
|
|
|
|
| |
Change-Id: I2700c9d9847aaa02cec2348307ca2611bf3ee25e
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Reviewed-by: Titta Heikkala <titta.heikkala@digia.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I847f8e941385c00df0e76e2ab2d9732540b042b1
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
|
|
|
|
|
| |
Change-Id: I1875dab1c2ca26206250772f518a83525e071ffa
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
|
|
|
|
|
|
|
|
|
|
| |
As explained in Qt documentation, comparing values where either of them
is 0.0 with qFuzzyCompare does not work. Adding 1 to both values fixes
the problem.
Task-number: QTRD-3172
Change-Id: I3e7be0ea3c53947b31fd45abe20b00773bf474b5
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
|
|
|
|
|
| |
Change-Id: Iabdd394d268e7ea4b5ad51a67f11f40576d09f9f
Reviewed-by: Titta Heikkala <titta.heikkala@digia.com>
|
|
|
|
|
|
|
|
|
| |
The bar value labels are positioned so that they don't overlap with
the border drawn around the bar.
Task-number: QTRD-3171
Change-Id: Icf6344214195e91ae66eed31ca587414e02291b9
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
|
|
|
|
|
|
|
|
|
| |
The point label is positioned above the line or the marker based
on the pen width and marker size.
Task-number: QTRD-3167
Change-Id: I67b0eabce025235ef2e19bf50c41b8ee1382dd7e
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
|
|
|
|
|
|
|
|
| |
The initialization order of the member variables is the same as the
order they are listed in.
Change-Id: I8b0b9149b83181a9a251a490013c2f27cf544e82
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
|
|
|
|
|
|
|
|
|
|
| |
The metatype declarations for QAbstractAxis are added to the
oscilloscope demo applications for them to recognize the axis type
correctly.
Task-number: QTRD-3162
Change-Id: I6aadb97d8191bcab6b92a3833dc8c44a1ab79cee
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
|
|
|
|
|
|
|
|
| |
Updated Charts version to 1.4.0 and updated README accordingly.
Task-number: QTRD-3088
Change-Id: I4f2f3ef0874dce8a6c38e9ecb7b1b253481e1445
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
|
|
|
|
|
|
|
|
|
|
| |
Property declarations divided into several lines caused qmake to
warn of cat() function about deprecated unmatched parentheses. The
property declarations are now done in one line.
Task-number: QTRD-3159
Change-Id: Ieb839ff81d707a5a40cdebd62a52ac32f51517b7
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
|
|
|
|
|
|
|
|
| |
Changed clear() method to invokable for QBarCategoryAxis.
Task-number: QTRD-2631
Change-Id: I0aa00a44ae5c6bd5b59ecf630d938b5cc484f62e
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
|
|
|
|
|
|
|
|
| |
Category groups with zero values are not drawn.
Task-number: QTRD-3087
Change-Id: Ie6f85e48398e751213b11d88c0c6a8de2ce8247a
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
|