We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c733be5 commit 14d91dcCopy full SHA for 14d91dc
src/qplotmarker_distance.cpp
@@ -54,7 +54,7 @@ void QPlotMarkerDistance::setCoordPen(const QPen & pen)
54
55
qreal QPlotMarkerDistance::markersDistance(QPlotMarker * one, QPlotMarker * other)
56
{
57
- return other->markerValue() - one->markerValue();
+ return std::abs( other->markerValue() - one->markerValue() );
58
}
59
60
void QPlotMarkerDistance::update()
0 commit comments