Skip to content

Commit

Permalink
FIXED: Height of one-column key/legend was too large
Browse files Browse the repository at this point in the history
  • Loading branch information
jkriege2 committed Aug 24, 2023
1 parent 5cc0b65 commit 134739c
Show file tree
Hide file tree
Showing 94 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion doc/dox/whatsnew.dox
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ Changes, compared to \ref page_whatsnew_V4_0_0 "v4.0.0" include:
<li>FIXED: fixes strange rendering with distortions (especially in text!), by correcting size calculation of internal image buffer</li>
<li>FIXED: exporting gridPrinting plots when using only a JKQTBasePlotter</li>
<li>FIXED: fixed impleentations of JKQTPlotter::beginGraphs(), which actually returned the end-iterator (COPY-PASTE-ERROR!!!)</li>
<li>partly FIXED issue <a href="https://github.com/jkriege2/JKQtPlotter/pull/99">#99: Clipping of Tick Labels</a>: for horizontal axes, additional space at the left and/or right of the plot is allowed so labels are no longer clipped (thanks to <a href="https://github.com/allenbarnett5">user:allenbarnett5/a> for reporting)</li>
<li>FIXED issue <a href="https://github.com/jkriege2/JKQtPlotter/pull/99">#99: Clipping of Tick Labels</a>: for horizontal axes, additional space at the left and/or right of the plot is allowed so labels are no longer clipped (thanks to <a href="https://github.com/allenbarnett5">user:allenbarnett5/a> for reporting)</li>
<li>FIXED issue <a href="https://github.com/jkriege2/JKQtPlotter/pull/99">#99: Height of one-column key/legend was too large</a> (thanks to <a href="https://github.com/allenbarnett5">user:allenbarnett5/a> for reporting)</li>
<li>FIXED/NEW: placement of plot-title (was not centerd in its box, but glued to the bottom) by adding a plotstyle parameter JKQTBasePlotterStyle::plotLabelOffset</li>
<li>REORGANIZED: separated line-graphs from jkqtpscatter.h/.cpp into jkqtplines.h/.cpp</li>
<li>IMPROVED: QT6-compatibility by removing deprecated warnings</li>
Expand Down
Binary file modified doc/images/JKQTPBarHorizontalErrorGraph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/images/JKQTPBarHorizontalErrorGraph_small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/images/JKQTPBarVerticalErrorGraph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/images/JKQTPBarVerticalErrorGraph_small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/images/JKQTPFilledCurveXErrorGraph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/images/JKQTPFilledCurveXErrorGraph_small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/images/JKQTPFilledCurveXGraph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/images/JKQTPFilledCurveXGraph_small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/images/JKQTPFilledCurveYErrorGraph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/images/JKQTPFilledCurveYErrorGraph_small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/images/JKQTPFilledCurveYGraph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/images/JKQTPFilledCurveYGraph_small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/images/JKQTPFilledCurveYGraph_wiggle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/images/JKQTPXYFunctionLineGraph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/images/JKQTPXYFunctionLineGraph_small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/images/JKQTPXYScatterErrorGraph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/images/JKQTPXYScatterErrorGraph_small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/images/jkqtmathtext/jkqtmathtext_unicode.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/images/styles/blackandwhite.ini.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/images/styles/blueprint.ini.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/images/styles/cyberpunk.ini.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/images/styles/dark.ini.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/images/styles/default.ini.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/images/styles/legacy_default_style.ini.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/images/styles/seaborn.ini.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/images/styles/simple_arrowsaxes.ini.png
Binary file modified doc/images/styles/simple_axesoffset.ini.png
Binary file modified doc/images/styles/simple_axesoffset_plotbox.ini.png
Binary file modified doc/images/styles/simple_gridandticks.ini.png
2 changes: 1 addition & 1 deletion lib/jkqtplotter/jkqtpbaseplotter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4649,7 +4649,7 @@ void JKQTBasePlotter::getKeyExtent(JKQTPEnhancedPainter& painter, double* width,
double w=0;
double h=0;
painter.setFont(f);
if (text_height!=nullptr) *text_height=0;
//if (text_height!=nullptr) *text_height=0;


for (int i=0; i<graphs.size(); i++) {
Expand Down
Binary file modified screenshots/barchart_errorbars.png
Binary file modified screenshots/barchart_errorbars_hor.png
Binary file modified screenshots/barchart_errorbars_hor_small.png
Binary file modified screenshots/barchart_errorbars_small.png
Binary file modified screenshots/boxplot.png
Binary file modified screenshots/boxplot_small.png
Binary file modified screenshots/datastore.png
Binary file modified screenshots/datastore_regression.png
Binary file modified screenshots/datastore_regression_lin.png
Binary file modified screenshots/datastore_regression_linrobust.png
Binary file modified screenshots/datastore_regression_linrobust_p.png
Binary file modified screenshots/datastore_regression_linweight.png
Binary file modified screenshots/datastore_regression_polynom.png
Binary file modified screenshots/datastore_regression_polynom_errros.png
Binary file modified screenshots/datastore_regression_small.png
Binary file modified screenshots/datastore_small.png
Binary file modified screenshots/datastore_statistics.png
Binary file modified screenshots/datastore_statistics_2d.png
Binary file modified screenshots/datastore_statistics_2d_small.png
Binary file modified screenshots/datastore_statistics_cumhistkde.png
Binary file modified screenshots/datastore_statistics_hist.png
Binary file modified screenshots/datastore_statistics_kde.png
Binary file modified screenshots/datastore_statistics_small.png
Binary file modified screenshots/dateaxes.png
Binary file modified screenshots/dateaxes_small.png
Binary file modified screenshots/errorbarstyles.png
Binary file modified screenshots/errorbarstyles_small.png
Binary file modified screenshots/evalcurve.png
Binary file modified screenshots/evalcurve_small.png
Binary file modified screenshots/filledgraphs.png
Binary file modified screenshots/filledgraphs_errors.png
Binary file modified screenshots/filledgraphs_errors_small.png
Binary file modified screenshots/filledgraphs_errors_y.png
Binary file modified screenshots/filledgraphs_errors_y_small.png
Binary file modified screenshots/filledgraphs_small.png
Binary file modified screenshots/filledgraphs_y.png
Binary file modified screenshots/filledgraphs_y_small.png
Binary file modified screenshots/logaxes.png
Binary file modified screenshots/logaxes_nolog.png
Binary file modified screenshots/logaxes_nominorgrid.png
Binary file modified screenshots/logaxes_small.png
Binary file modified screenshots/mandelbrot.png
Binary file modified screenshots/mandelbrot_small.png
Binary file modified screenshots/multiplot.png
Binary file modified screenshots/multiplot_controlwindow.png
Binary file modified screenshots/multiplot_controlwindow_small.png
Binary file modified screenshots/multiplot_small.png
Binary file modified screenshots/parsedfunctionplot.png
Binary file modified screenshots/parsedfunctionplot_small.png
Binary file modified screenshots/scatter_customsymbol.png
Binary file modified screenshots/scatter_customsymbol_small.png
Binary file modified screenshots/scatter_error.png
Binary file modified screenshots/scatter_error_small.png
Binary file modified screenshots/stepplots.png
Binary file modified screenshots/stepplots_small.png
Binary file modified screenshots/test_distributionplot.png
Binary file modified screenshots/test_distributionplot_small.png
Binary file modified screenshots/violinplot_hor.png
Binary file modified screenshots/violinplot_hor_small.png
Binary file modified screenshots/violinplot_vert.png
Binary file modified screenshots/violinplot_vert_small.png
Binary file modified screenshots/wiggleplot_y.png
Binary file modified screenshots/wiggleplot_y_small.png

0 comments on commit 134739c

Please sign in to comment.