Commit Graph

1198 Commits

Author SHA1 Message Date
Jonathan
aef6bb67b4 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.
2024-11-21 16:48:12 -08:00
Jonathan
5b647f24d1 BugFix 2024-10-15 13:26:57 -07: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
jkriege2
863f083bf9 updated barchart doc 2024-02-11 13:53:10 +01:00
jkriege2
f860f76e72 doc update 2024-02-10 16:46:33 +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
8e6847b593 modified code logo for documentation 2024-02-09 16:46:01 +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
942c6aacfa linkfix 2024-02-09 13:53:29 +01:00