Commit Graph

685 Commits

Author SHA1 Message Date
Transporter
b349f07118
Fix issue #142 (#143)
Some checks failed
CodeQL / Analyze (cpp) (push) Has been cancelled
Doxygen build&deploy / build (push) Has been cancelled
MSVC-CodeAnalysis / Analyze (push) Has been cancelled
2024-10-30 22:00:12 +01:00
jkriege2
966a537f4a minor fix for MSVC and C++20
Some checks failed
CodeQL / Analyze (cpp) (push) Has been cancelled
Doxygen build&deploy / build (push) Has been cancelled
MSVC-CodeAnalysis / Analyze (push) Has been cancelled
2024-10-18 14:29:17 +02:00
jkriege2
f41be57613 minor code improvementa 2024-10-18 14:17:06 +02:00
jkriege2
20e6f09e94 FIX: remove QPainter::setRenderHint(QPainter::VerticalSubpixelPositioning) as this does not seem to improve outcomes
Some checks are pending
CodeQL / Analyze (cpp) (push) Waiting to run
Doxygen build&deploy / build (push) Waiting to run
MSVC-CodeAnalysis / Analyze (push) Waiting to run
2024-10-17 13:49:33 +02:00
jkriege2
6a96d36538 FIX: add return values to all addGraph()-Variants in JKQTPlotter (to mirror the interface of JKQTBasePlotter), fixes issue #140 2024-10-17 12:41:50 +02:00
Snolandia
fd8ea3adb2
BugFix (#139) When right clicking during a ScribbleForEvent/MouseDragAction, and the right click is outside the plot, the last scribble event was not being generated.
Some checks are pending
CodeQL / Analyze (cpp) (push) Waiting to run
Doxygen build&deploy / build (push) Waiting to run
MSVC-CodeAnalysis / Analyze (push) Waiting to run
2024-10-16 13:24:50 +02:00
seyed sajad hosseini rostami
2e0d0d7540
addGraph function return value fixed (#140)
authored-by: Sajad Hosseini <s.hosseinirostami@halm.de>
2024-10-16 13:22:28 +02:00
jkriege2
8ff150ab01 fixed missing documentation and compile issue 2024-10-16 13:05:55 +02:00
jkriege2
0f956ae8a5 FIX: remove JKQTPCoordinateAxis::setTickSpacing() as tickSPacing is an internal property that is readonly to the user of the library/outside the class
Some checks failed
CodeQL / Analyze (cpp) (push) Has been cancelled
Doxygen build&deploy / build (push) Has been cancelled
MSVC-CodeAnalysis / Analyze (push) Has been cancelled
2024-10-08 22:01:38 +02:00
jkriege2
9b877f9ed6 improved documentation 2024-09-18 14:38:02 +02:00
jkriege2
2a23d27c60 added JKQTPCoordinateAxis::setRangeFixed() which disables changing the axis range (and thus the zoom)
add JKQTPCoordinateAxis::getMin() and JKQTPCoordinateAxis::getMax() getters
2024-09-18 14:28:44 +02:00
jkriege2
aa4ac4c58a FIXED issue #128: Question about rendering unicode in plot labels: Unicode characters were not rendered if they are not in the currently active font, as fallback-rendering was switched off. It is now switched on again for text and verbatim nodes. Thanks to user:fpalazzolo for reporting this bug
FIXED font rendering was not always anti-aliased
2024-03-28 22:01:59 +01:00
jkriege2
6ca2e6ea3c Speed-Improvemend for 2D-KDE calculation by reordering loops and allowing for inlined function calls 2024-03-18 12:10:38 +01:00
jkriege2
e25b494eb5 change to allow compiling against older Qt versions 2024-03-18 11:32:09 +01:00
jkriege2
b2aad7ca20 BREAKING: improved speed of median/quantile calculation, by only partially sorting 2024-03-18 11:02:23 +01:00
Social_Mean
be48ed84ba
Add-qt5.12.12-compatibility (#127)
add qt5.12.12 compatibility

QList::swapItemsAt was introduced in Qt 5.13.
and more ,,, thanks to https://github.com/Social-Mean
2024-03-18 10:42:32 +01:00
jkriege2
6482ff7a49 FIX another bug from issue #124: a use of private Qt-API, which is undocumented and not present in all cases was replaced ... 2024-03-15 11:36:40 +01:00
jkriege2
77f498f04d FIX issue #124 QGradient::Preset::NumPresets is undocumented and seems to be missing in some cases --> use QMetaEnum::fromType<QGradient::Preset>().keyCount() instead 2024-03-15 10:15:51 +01:00
jkriege2
7f4972a0e1 added CMAKE-check for existence of _j0 or j0, should fix issue https://github.com/jkriege2/JKQtPlotter/issues/124 2024-03-12 22:24:22 +01:00
jkriege2
d9f2383791 NEW: added JKQTPGLabelHalfwaysToXAxis+JKQTPGLabelHalfwaysToYAxis to JKQTPXYGraphLabels 2024-02-22 21:18:45 +01:00
Douglas Ayers
277bcebfe9 Fixed visual studio warning: warning C4456: declaration of 'all_paths' hides previous local declaration 2024-02-14 10:50:51 -05:00
jkriege2
56f930db78 NEW: proper data-tooltips for financial graphs 2024-02-14 14:00:32 +01:00
jkriege2
bcc626172e NEW: Using axis's tick label formating properties to format values in data-tooltips (e.g. dates will appear formated as such) 2024-02-14 13:59:59 +01:00
jkriege2
18405073d0 FIXed drawing of quartic bezier curves in DrawAsGeometricElement 2024-02-14 13:57:16 +01:00
jkriege2
819ac7f9fc FIX: JKQTMathText: rendering of matrices, when onle one row or column or a single value are present 2024-02-14 13:55:12 +01:00
jkriege2
9349f486cb docfix 2024-02-14 00:03:38 +01:00
jkriege2
86c2e821c1 fixed compile error 2024-02-13 23:58:28 +01:00
jkriege2
2365caf83b NEW: JKQTPGeoBezierCurve for drawing bezier curves of degree 1-4 (+example) 2024-02-13 23:49:23 +01:00
jkriege2
4e7431ff77 fix security issues (members were not initialized) 2024-02-12 22:27:24 +01:00
jkriege2
f40bb2010d NEW: stacked barcharts may have a small separation (default 1pt)
NEW: autoscaling for barcharts works now, also when stacked and unstacked charts are combined in one plot
NEW: proper styling for financial graphs in style.ini-files
REWORKED: separation and gruping factor for barcharts on autoscaling
doc update
2024-02-12 22:21:13 +01:00
jkriege2
dd940ab569 doc update and many bugfixes 2024-02-12 15:01:46 +01:00
jkriege2
503ef13275 modified default style a bit ... using FIRASans as math font and increased font size a bit to make them easier readable 2024-02-11 18:59:21 +01:00
jkriege2
de68d8b8d6 NEW: added financial graphs (Candlestick or OHLC) and example for these 2024-02-11 14:18:50 +01:00
jkriege2
863f083bf9 updated barchart doc 2024-02-11 13:53:10 +01:00
jkriege2
b5b10f16f9 fixtypo in code 2024-02-10 00:43:18 +01:00
jkriege2
25fcb2a74a NEW add JKQTPParametrizedVectorFieldGraph, which draws color-coded vector fields (color from length, angle, or user-supplied data column) + example 2024-02-10 00:26:45 +01:00
jkriege2
24526aa6a5 NEW: added JKQTPGLabelCenteredOnData to JKQTPGraphLabelPosition, so JKQTPXYGraphLabels can draw directly centered over the datapoint 2024-02-09 16:59:14 +01:00
jkriege2
4e29109937 JKQTPVectorFieldGraph gained the option to also scale the line width with the vector length/magnitude 2024-02-09 16:45:40 +01:00
jkriege2
4d58448d17 docfix 2024-02-09 13:57:42 +01:00
jkriege2
627c329ab1 replace JKQTPVectorFieldGraph::setAutoscaleLengthFactor() by an enum-property JKQTPVectorFieldGraph::setVectorLengthMode() and added a mode that ignores the length completely, the vectorfield example was also modified to better show this new property 2024-02-09 13:48:41 +01:00
jkriege2
1ff97e1d0a doc update 2024-02-09 13:22:16 +01:00
jkriege2
eb315f648f JKQTPVectorFieldGraph: added scaling factor for length-autoscaling 2024-02-09 11:41:19 +01:00
jkriege2
e2057ae27a NEW: Base class JKQTPXYAndVectorGraph for graphs like vector fields, e.g. (x,y,dx,dy) or (x,y,angle,length)
NEW: ... and an actual implementation JKQTPVectorFieldGraph (+example)
2024-02-08 21:52:30 +01:00
jkriege2
a178a1f6d3 docfix 2024-02-06 22:58:02 +01:00
jkriege2
ac8e7c6adb docfix 2024-02-06 16:20:48 +01:00
jkriege2
d84c67642c fix Qt5 compile error 2024-02-06 16:17:28 +01:00
jkriege2
eb83feccaf doc update + image rename 2024-02-06 15:19:20 +01:00
jkriege2
b9f881dd4e update qmake-build 2024-02-06 14:53:51 +01:00
jkriege2
99f029e61e updated copyright timerange to 2024 2024-02-06 14:50:49 +01:00
jkriege2
3c9bd56d9e NEW: JKQTPXYGraphLabels which can draw a label next to each datapoint in the given x/y-dataset. The labels can be x-/y- or x&y-coordinates or custom, then defined by a user-supplied functor (+example \ref JKQTPlotterGraphLabels) 2024-02-06 14:49:14 +01:00