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 )
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
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
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.
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
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
e25b494eb5
change to allow compiling against older Qt versions
2024-03-18 11:32:09 +01:00
jkriege2
d9f2383791
NEW: added JKQTPGLabelHalfwaysToXAxis+JKQTPGLabelHalfwaysToYAxis to JKQTPXYGraphLabels
2024-02-22 21:18:45 +01: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
9349f486cb
docfix
2024-02-14 00:03:38 +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
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
eb83feccaf
doc update + image rename
2024-02-06 15:19:20 +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
jkriege2
0009ff8f64
moved two protected methods from JKQTPCoordinateAxis to jkqtpstringtools.h/.cpp
2024-02-06 14:48:21 +01:00
jkriege2
e63f053896
DOC update
2024-02-06 12:18:54 +01:00
jkriege2
210c7aaa42
improved qHash-functions and class constructors
...
NEW jkqtp_hash_combine() and jkqtp_combine_hash()
2024-02-05 17:12:34 +01:00
jkriege2
3b231273ef
FIXED symmetry when zooming with JKQTBasePlotter::zoomIn() or JKQTBasePlotter::zoomOut()
2024-02-05 00:24:39 +01:00
jkriege2
26cb23e3ab
doc improvements
2024-02-04 22:06:09 +01:00
jkriege2
f606327469
RENAMED JKQTPDatastore::addColumnCalculatedFromColumn() to JKQTPDatastore::addCalculatedColumnFromColumn(), which is more in line with the other add...()-function names. Aliases with the old function names remain for compatibility
2024-02-04 21:42:53 +01:00
jkriege2
50746a09cf
brought removed operators in JKQTDataStore back
2024-02-02 16:09:42 +01:00
jkriege2
92b8894a3b
FIX: color bars did not show a complete frame around
2024-02-02 14:43:10 +01:00
jkriege2
57b298527e
IMPROVED: axis labeling: there were some minor differences between compilers
...
IMPROVED: jkqtp_floattounitstr()/jkqtp_floattolatexunitstr(): add all SI-Prefixes from 10^-30...10^30
BREAKING removed unused function variant of jkqtp_floattounitstr()
NEW Added unit test for jkqtp_floattounitstr()/jkqtp_floattolatexunitstr()
2024-02-02 14:24:41 +01:00
jkriege2
55625a25ee
IMPROVED/FIXED outside space requirements for color bars. Text was sometime too close to the plot border.
2024-02-02 14:03:16 +01:00
jkriege2
946e472ce7
FIXED removed unnecessary operator from JKQTPColumnIterator and JKQTPColumnConstIterator, which lead to exceptions on some compilers
2024-02-02 14:01:16 +01:00
jkriege2
868d6dcdf4
fixed several compile warnings
2024-01-23 13:09:37 +01:00