Skip to content

Commit

Permalink
FIX: remove JKQTPCoordinateAxis::setTickSpacing() as tickSPacing is a…
Browse files Browse the repository at this point in the history
…n internal property that is readonly to the user of the library/outside the class
  • Loading branch information
jkriege2 committed Oct 8, 2024
1 parent b65da26 commit 0f956ae
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
5 changes: 0 additions & 5 deletions lib/jkqtplotter/jkqtpcoordinateaxes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -731,11 +731,6 @@ void JKQTPCoordinateAxis::setNoAbsoluteRange() {
setRange(axismin, axismax);
}

void JKQTPCoordinateAxis::setTickSpacing(double __value) {
this->tickSpacing = __value;
this->paramsChanged=true;
redrawPlot();
}

void JKQTPCoordinateAxis::setAxisMinWidth(double __value) {
this->axisMinWidth = __value;
Expand Down
3 changes: 0 additions & 3 deletions lib/jkqtplotter/jkqtpcoordinateaxes.h
Original file line number Diff line number Diff line change
Expand Up @@ -546,9 +546,6 @@ class JKQTPLOTTER_LIB_EXPORT JKQTPCoordinateAxis: public QObject {
/** \brief do not use an absolute range of plot axis */
void setNoAbsoluteRange();

/** \copydoc tickSpacing */
void setTickSpacing(double __value);

/** \copydoc axisMinWidth */
void setAxisMinWidth(double __value);

Expand Down
2 changes: 1 addition & 1 deletion lib/jkqtplotter/jkqtpcoordinateaxesstyle.h
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ class JKQTPLOTTER_LIB_EXPORT JKQTPCoordinateAxisStyle {

/** \brief minimum number of axis ticks */
unsigned int minTicks;
/** \brief number of minor grid lines per axis tick interval
/** \brief number of minor grid lines per (major) axis tick interval
*
* \image html docu_logaxis_set_minorticks.png
**/
Expand Down

0 comments on commit 0f956ae

Please sign in to comment.