This commit is contained in:
jkriege2 2024-02-06 22:58:02 +01:00
parent ac8e7c6adb
commit a178a1f6d3
4 changed files with 21 additions and 8 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

View File

@ -7,9 +7,9 @@
id="svg3219"
sodipodi:version="0.32"
inkscape:version="1.1.2 (b8e25be833, 2022-02-05)"
sodipodi:docname="jkqtpxygraphlabels.svg"
sodipodi:docname="jkqtpxygraphlabelsmixin.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape"
inkscape:export-filename="C:\Jan\Programmieren\JKQtPlotter\doc\images\jkqtpxygraphlabels.png"
inkscape:export-filename="C:\Jan\Programmieren\JKQtPlotter\doc\images\jkqtpxygraphlabelsmixin.png"
inkscape:export-xdpi="61.449596"
inkscape:export-ydpi="61.449596"
version="1.1"
@ -133,8 +133,8 @@
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1.2314489"
inkscape:cx="252.54803"
inkscape:cy="-73.084639"
inkscape:cx="252.54804"
inkscape:cy="-73.08464"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

@ -107,7 +107,7 @@ JKQTPLOTTER_LIB_EXPORT JKQTPGraphLabelBoxType String2JKQTPGraphLabelBoxType(cons
- styling for the box around the label
.
\image html jkqtpxygraphlabels.png
\image html jkqtpxygraphlabelsmixin.png
\see JKQTPGraphTextStyleMixin, JKQTPGraphLineStyleMixin, JKQTPGraphFillStyleMixin, JKQTPXYGraphLabels
*/
@ -241,22 +241,35 @@ protected:
private:
/** \brief offset of the box rectangle to the actual data point location [pt], this is used for simple boxes and is a rather close distance (e.g. JKQTPGLSimpleBox)
*
* \image html jkqtpxygraphlabelsmixin.png
*
* \see setLabelOffset(), getLabelOffset(), setLabelOffsetWithConnector(), getLabelOffsetWithConnector()
*/
double m_labelOffset;
/** \brief offset of the box rectangle to the actual data point location [pt], this variant is used when a visible connector is shown (e.g. JKQTPGLSimpleBoxAndLine)
*
* \image html jkqtpxygraphlabelsmixin.png
*
* \see setLabelOffsetWithConnector(), getLabelOffsetWithConnector(), setLabelOffset(), getLabelOffset()
*/
double m_labelOffsetWithConnector;
/** \brief rounding radius of the box rectangle (<=0 -> no rounded rectangle) [pt] */
double m_labelBoxRounding;
/** \brief padding in x-direction between label and surrounding box [pt] */
/** \brief padding in x-direction between label and surrounding box [pt]
*
* \image html jkqtpxygraphlabelsmixin.png
*/
double m_labelXPadding;
/** \brief padding in y-direction between label and surrounding box [pt] */
/** \brief padding in y-direction between label and surrounding box [pt] *
*
* \image html jkqtpxygraphlabelsmixin.png
*/
double m_labelYPadding;
/** \brief indicates whether to draw a frame around the box */
/** \brief indicates whether to draw a frame around the box *
*
* \image html jkqtpxygraphlabelsmixin.png
*/
bool m_drawLabelBoxFrame;
/** \brief position of the label
*