Commit Graph

69 Commits

Author SHA1 Message Date
jkriege2
69adb3adfb bugfix 2022-08-25 15:30:39 +02:00
jkriege2
03031e3762 JKQTPlotter:
- NEW: improved plotting speed for line-graphs by a compression algorithm (see JKQTPGraphLinesCompressionMixin) that removes overlaying lines (e.g. in JKQTPXYLineGraph)
    - NEW: improved plotting speed for line-graphs by a clipping algorithm (applies to JKQTPXYLineGraph, JKQTPGraphErrorStyleMixin, JKQTPSpecialLineHorizontalGraph, JKQTPSpecialLineVerticalGraph and others)
    - NEW: improved plotting speed for scatter-graphs by not calling draw functions for symbols outside the plot window (e.g. in JKQTPXYLineGraph)
2022-08-25 15:17:50 +02:00
jkriege2
f01a198b7b fixed several doxygen errors 2022-07-24 14:50:28 +02:00
jkriege2
c399959774 fixed several (pedantic) compiler warnings
fixed CMake problems
2022-07-23 16:05:13 +02:00
jkriege2
8558896f9b split jkqtcommon into basic tools and jkqtcommon_statistics_and_math for advanced math tools not used by all libs 2022-07-23 15:31:56 +02:00
jkriege2
671e25b33b removed some compiler warnings and fixed construction problems 2022-07-22 16:24:24 +02:00
jkriege2
5087970c79 updated copyright notice 2022-07-19 13:40:43 +02:00
jkriege2
ece49f2d2b FIXED issue #80: "Bug with multiple inheritance with Q_GDAGET with CLANG", thanks to user:igormironchik, caused by QTBUG-104874 2022-07-19 10:24:52 +02:00
jkriege2
285814f2e6 fixed: JKQTMathText added a little whitespace before and after the LaTeX-string. This was removed as it disturbed the layout of text in plots 2022-06-02 23:24:41 +02:00
jkriege2
f33838f187 added debug-feature to show boxes around text in the plot 2022-06-02 23:05:58 +02:00
jkriege2
03497b6c31 changed JKQTPColorDerivationMode from an ENUM to a STRUCT, which extends its capabilities significantly 2022-06-02 21:21:17 +02:00
jkriege2
b756cb91e6 improved/fixed styling system: axis styles for colorbars were not properly taken from style objects + corrected some inaccurate drawing by using QRectF instead of QRect 2022-05-23 22:41:57 +02:00
jkriege2
f475caddc1 fixed typo 2022-05-11 23:03:33 +02:00
jkriege2
ee2477a1f6 implemented wiggle plots (feature request #68) 2022-05-11 22:55:23 +02:00
jkriege2
d45083ee9b moved include-guards to the head of the headers 2022-04-24 22:07:39 +02:00
jkriege2
b8088ccc69 improved/bugfixed doxygen documentation 2022-04-24 13:23:59 +02:00
jkriege2
0a5fa42470 more required changes for Qt6 compatibility 2022-04-22 13:27:31 +02:00
jkriege2
fbbc814331 using automatic memory management instead of local malloc()/free() pairs 2022-04-21 21:25:37 +02:00
jkriege2
b4eda85bfc fixed two possible int-overflows 2022-04-21 13:59:49 +02:00
jkriege2
58403f8905 improved/breaking change: image plots now manage CONST-data, not plain pointer arrays... This is OK, since the raw data is never owned nor modified by the plot, only referenced! 2020-09-28 19:24:17 +02:00
jkriege2
48ec6060ab * additional JKQTPColorDerivationMode
* bugfixes for Boxplots
* style improvements
2020-09-28 15:37:45 +02:00
jkriege2
fc321f027b - breaking: geometric elements constructor: removed all styling properties, added setStyle()-functions to replace them. This is necessary to better work with the extended Styling system
- breaking: extended styling system for graphs
2020-09-26 15:58:58 +02:00
jkriege2
a65a713ea6 improved/breaking change: reworked class hierarchy of violin plots 2020-09-21 13:53:33 +02:00
jkriege2
0faa51c9f5 comment formatting fix 2020-09-21 13:52:13 +02:00
jkriege2
40e4b30c45 improved/breaking change: reworked class hierarchy of boxplots 2020-09-21 13:40:38 +02:00
jkriege2
f368855076 renamed JKQTPPlotObject->JKQTPGeometricPlotElement and added new base class JKQTPPlotAnnotationElement 2020-09-21 13:15:57 +02:00
jkriege2
f4767072a4 - improved/breaking change: reworked class hierarchy of range plot elements (JKQTPVerticalRange and JKQTPHorizontalRange)
- improved their documentation
2020-09-19 19:59:33 +02:00
jkriege2
9e48a2e59e improved/breaking change: reworked class hierarchy of filled line graphs 2020-09-19 19:17:35 +02:00
jkriege2
d638ff1e9c improved/breaking change: reworked class hierarchy of special line (step) graphs 2020-09-19 19:06:01 +02:00
jkriege2
abe1c655ba improved code (removed code repeats by using getIndexRange(), using const where appropriate) 2020-09-19 15:39:02 +02:00
jkriege2
7e425e7bb5 reworked class hierarchy of impulse graphs 2020-09-19 15:21:33 +02:00
jkriege2
d57da36a99 moved set/getBaseline() to a special base graph class JKQTPXYBaselineGraph 2020-09-19 15:08:32 +02:00
jkriege2
34fa59ebf4 using new JKQTPGraphLineAndFillStyleMixin where appropriate 2020-09-19 14:55:46 +02:00
jkriege2
6875e0ae6c - improved/breaking change: reworked class hierarchy of range charts.
- new: added JKQTPFilledHorizontalRangeGraph, complementing JKQTPFilledVerticalRangeGraph
2020-09-19 14:41:53 +02:00
jkriege2
8cee70bdca breaking: made more functions and function parameters const 2020-09-18 22:03:12 +02:00
jkriege2
eb9a1d5a92 documentation fixed 2020-09-18 12:24:12 +02:00
jkriege2
9dbfd6e173 reworked class hierarchy of bar charts 2020-09-17 16:59:57 +02:00
jkriege2
ff373236d4 renamed JKQTPColorPaletteStyleAndToolsMixin::setPalette() -> JKQTPColorPaletteStyleAndToolsMixin::setColorPalette() 2020-09-11 12:14:51 +02:00
jkriege2
ebf034710b bugfix: parsed functions did not work properly 2020-09-09 11:45:33 +02:00
jkriege2
95d885bc2c - bugfix: improved handling of DRAGZOOM-UserAction for log-log plots
- code (style) improvements
2020-09-08 20:15:33 +02:00
jkriege2
f77bc97ca5 - cleanup of class-hierarchy of evaluated functions
- added slots for several properties of evaluated functions
- updated examples
2020-09-07 20:58:20 +02:00
jkriege2
414e12920e - added further base-class JKQTPEvaluatedFunctionWithParamsGraphBase, which extends JKQTPEvaluatedFunctionGraphBase with parameters
- modified plot-function with parameters, as the old unsafe way of giving a void* for parameters is no longer necessary with C++-lambdas and std::bind()
2020-09-05 13:47:46 +02:00
jkriege2
dcdee469fe rename JKQTPFunctionLineGraphBase -> JKQTPEvaluatedFunctionGraphBase 2020-09-05 13:16:26 +02:00
jkriege2
29ee1aa376 created common base class JKQTPFunctionLineGraphBase for all graphs that display evaluated functions 2020-09-05 13:14:46 +02:00
jkriege2
48a24a85d0 JKQTPXFunctionLineGraph: further simplification 2020-09-05 12:50:46 +02:00
jkriege2
8c0c8bf62e simplification/unification: JKQTPXFunctionLineGraph and JKQTPYFunctionLineGraph now use JKQTPAdaptiveFunctionGraphEvaluator to generate sample points 2020-09-05 12:44:02 +02:00
jkriege2
c57c672f78 new: a new graph class JKQTPXYFunctionLineGraph draws parametric 2D curves (f(t) -> [x,y]) 2020-09-04 23:47:03 +02:00
jkriege2
33a9cb5b2d bugfix: straight lines in pie and chord were not drawn as curve in DrawMode=DrawAsMathematicalCurve 2020-09-03 23:28:48 +02:00
jkriege2
279ef7880a - improved: geometric objects now use an adaptive drawing algorithm to represent curves (before e.g. ellipses were always separated into a fixed number of line-segments)
- improved: constructors and access functions for several geometric objects (e.g. more constructors, additional functions to retrieve parameters in diferent forms, iterators for polygons, ...)
- new: all geometric objects can either be drawn as graphic element (i.e. lines are straight line, even on non-linear axes), or as mathematical curve (i.e. on non-linear axes, lines become the appropriate curve representing the linear function, connecting the given start/end-points). The only exceptions are ellipses (and the derived arcs,pies,chords), which are always drawn as mathematical curves
2020-09-03 23:08:52 +02:00
jkriege2
87755ce515 diverse code improvements, increased copyright year to 2020 2020-08-26 12:58:23 +02:00