Commit Graph

1207 Commits

Author SHA1 Message Date
jkriege2
c1df8e8a85 update docu images 2025-01-15 22:24:42 +01:00
jkriege2
2ad9b01aae NEW: added JKQTPlotterUpdateGuard guard class that prevents redrawing of a JKQTPlotter during the lifetime of a code block, improved documentation of speed during plot setup 2025-01-15 22:24:20 +01:00
Snolandia
a275fb73c3
Couple bug fixes (#147)
* BugFix

* Resolve several issues

1: Allow mouse scroll events to pass through to parent if the plot has not mouse scroll events to do. i.e. if scroll to zoom is disabled, and the graph is part of a scroll area, this allows scrolling the scroll area while the mouse is over the plot.

2: Fixed bug with resize timer resetting itself every time, rather than actually performing the countdown and calling the function.

3. Fixed bug with margins being calculated incorrectly, preventing the complete removal of margins from a plot.
2025-01-15 21:21:39 +01:00
Transporter
b349f07118
Fix issue #142 (#143)
Some checks failed
Doxygen build&deploy / build (push) Has been cancelled
MSVC-CodeAnalysis / Analyze (push) Has been cancelled
CodeQL / Analyze (cpp) (push) Failing after 5m31s
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
Jan W. Krieger
1dc569d534
Update appveyor.yml: Add C++20 build
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-15 21:53:49 +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
Jan W. Krieger
b65da26c0f
Update appveyor.yml 2024-09-18 17:45:27 +02:00
Jan W. Krieger
d62e16a686
Update msvc-codeanalysis.yml with newer action version 2024-09-18 14:43:28 +02:00
jkriege2
9b877f9ed6 improved documentation 2024-09-18 14:38:02 +02:00
jkriege2
7d37140837 NEW: added example which shows how to bin a QScrollBar to a JKQTPlotter 2024-09-18 14:37:46 +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
7292dd5c54 small bugfix 2024-03-18 11:43:55 +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
378ae79517 FIX issue #124 warning() is not a valid CMake method (using message(WARNING ...) instead) 2024-03-15 10:15:50 +01:00
Jan W. Krieger
8b22212d5d
Update appveyor.yml: bumped Qt-version for Ubuntu AppVeyor-builds 2024-03-14 09:59:10 +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
Jan W. Krieger
ffb33a507e
Update appveyor.yml: bumped QT-Versions up 2024-02-23 13:12:02 +01:00
jkriege2
d9f2383791 NEW: added JKQTPGLabelHalfwaysToXAxis+JKQTPGLabelHalfwaysToYAxis to JKQTPXYGraphLabels 2024-02-22 21:18:45 +01:00
Jan W. Krieger
7ed751903a
Merge pull request #122 from doug1234/MoreWarnings
Fixed visual studio warning:  warning C4456: declaration of 'all_path…
2024-02-15 09:22:05 +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
e152e984f6 docfix 2024-02-14 13:57:44 +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
924eb5fe91 doc fix 2024-02-14 00:10:48 +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
59758ce2be doc update 2024-02-13 23:56:13 +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
09c2d7430e fix compile error (missing #includes) 2024-02-11 18:30:54 +01:00
jkriege2
75b2971477 updyted stylesbanner.png 2024-02-11 14:19:06 +01:00
jkriege2
de68d8b8d6 NEW: added financial graphs (Candlestick or OHLC) and example for these 2024-02-11 14:18:50 +01:00