summaryrefslogtreecommitdiffstats
path: root/src/charts/domain/logxlogydomain.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Update the commercial license header to Qt Charts files"v5.15.3-lts-lgplTarja Sundqvist2021-03-221-11/+11
| | | | | | | | | | | This reverts commit 9ac57c36d42d083d1767353c7eb817d96817d22e. Revert of commercial license headers is required for Qt 5.15.3 opensource release. Task-number: QTBUG-91108 Change-Id: Ib7588e49cc9322bd72e02ef7cf49c8577191b0ec Reviewed-by: Antti Kokko <antti.kokko@qt.io>
* Update the commercial license header to Qt Charts filesTarja Sundqvist2021-01-271-11/+11
| | | | | | | | | | | | | | | | | The commercial license header header.COMM was updated to the tqtc-qtcharts files. The commercial license header may contain some additional lines so that its line count equals with the earlier license header. Reason for this is that some autotests use hard coded line numbers and a change in the line count causes failures in tests. Task-number: QTQAINFRA-4144 Change-Id: I87f9848863d619d3fa0f3b8d94f21c14a87fe869 Reviewed-by: Antti Kokko <antti.kokko@qt.io> Reviewed-by: Tuukka Turunen <tuukka.turunen@qt.io>
* Prevent zoom-out beyond infinite linear max double valuesKeith Kyzivat2020-10-231-2/+8
| | | | | | | | | | | | | | | | When zooming out domains that include log axes, prevent zoom-out when the new zoom level would result in a max value that is above the upper range of double (represented as inf). Additionally, prevent zoom-out when the log value exceeds the number of pixels in the log axis dimension. Major gridlines are created at each integral log value, and it does not make sense to zoom out beyond such point. Task-number: QTBUG-75500 Change-Id: Icab72f600a84297d43da675c5757f6e63ae25119 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> (cherry picked from commit e71430cd2b82cda52a2886c941b227eb6cdbcb7a)
* Fix namespaced buildLiang Qi2018-10-041-2/+2
| | | | | | | | | | | It is not allowed to include files within Qt namespace. This amends a93849d0. See 5b99f3a3 in qtbase dev. Task-number: QTBUG-70907 Change-Id: I37f0924429313f2251f656bcd5b6b248a22ccfbb Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Merge remote-tracking branch 'origin/5.6' into 5.7Liang Qi2016-08-231-19/+34
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: .qmake.conf README src/charts/qchartglobal.h tests/auto/chartdataset/tst_chartdataset.cpp tests/auto/domain/tst_domain.cpp Change-Id: Ib4e01f2646d87b691c7b2f8bee4ed1f5521e4f6d
| * Fix issues with reverse axesMiikka Heikkinen2016-08-111-19/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moved the reverse axis handling to domains instead of simply mirroring the painter. This fixes the following issues with reverse axes: - QChart mapping functions returned unreversed values - Bounding regions of series were incorrect - Mouse events gave wrong positions - Chart scrolling and zooming didn't account for reversed axes Task-number: QTBUG-54401 Change-Id: I6aed9e13c0d1d956a389dfe70f36f630d79d1ddf Reviewed-by: Janne Koskinen <janne.p.koskinen@theqtcompany.com> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* | charts: Follow Qt's already-existent -developer-build option.Robin Burchell2016-01-141-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This means that rebuilding the entirety of Qt with -developer-build will get us all autotests. Furthermore, it fixes the situation on OS X where a debug_and_release build wouldn't actually fully link. In addition, we clean up the tests that were stubbed when internals aren't available to just not build/run them at all by checking private_tests. Change-Id: I5701559cd91df842f78346d7d6ad9295bee587d0 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* | Updated licenseMiikka Heikkinen2016-01-131-9/+17
|/ | | | | | Change-Id: I7ad9838039b56b9e3a7fe2c42a2d8ff818f393fb Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Updated license headersTitta Heikkala2015-10-201-11/+14
| | | | | Change-Id: Ic72ee3c9723c2b3f3368c79219b7468f5d95aa84 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Accelerating lineseries with OpenGLMiikka Heikkinen2015-09-251-1/+1
| | | | | | | | | | | | 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>
* Copyright header changesTitta Heikkala2015-04-231-3/+3
| | | | | | | Copyright header changes for Qt 5.5. Change-Id: I2b8e9356997de2c87a7436bcefd4d0948d566259 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Fix QNX build issueTitta Heikkala2015-04-231-14/+15
| | | | | | | Use qmath and cmath methods instead of math.h methods. Change-Id: I7c853f2e1218a1d3cde15a089192c24a6b0b1395 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Updated license headersTitta Heikkala2014-11-121-9/+7
| | | | | | | Updated new license headers and added missing ones to qdoc files. Change-Id: I9f2af2a8b44c3ebf19fd494628dfaa8775a47b06 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Fix include syntaxTitta Heikkala2014-10-201-4/+4
| | | | | | | | | 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-141-0/+278
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>