- Use '/' key to quickly access this field.
- Enter a name of repository, or repository group for quick search.
- Prefix query to allow special search:
user:admin, to search for usernames, always global
user_group:devops, to search for user groups, always global
pr:303, to search for pull request number, title, or description, always global
commit:efced4, to search for commits, scoped to repositories or groups
file:models.py, to search for file paths, scoped to repositories or groups
For advanced full text search visit: repository search
Add missing QML types to the documentation
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>
Removed the old hovered signal from bar chart
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>
Fix missing QML Types in assistant
Fixed drop down selection for missing QML types in assistant.
Change-Id: Idd0aaa2a33d7df8ab5d14a332da051c4ac99d2ef
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
Fix Charts build when quick module is not build
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>
Fix designer plugin target
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 shades for log and category axes.
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>
Fix bar category axis labels
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>
Fix axis attachments in QML.
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>
Removed unnecessary Q_REVISION(n) macros.
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>
Added plotAreaChanged signal to chart.
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>
Fix chart axis label format
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>
Fix include syntax
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>
Suppress a warning in msvc 64bit builds
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>
Qt Charts project file structure change
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>
Fix empty domain detection
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>
Misc fixes
- 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>
Additional fixes to label localization
- 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>
Added QChart::locale property
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>