MCPcopy Create free account
hub / github.com/collin80/SavvyCAN / addDataRange

Method addDataRange

qcustomplot.cpp:2547–2552  ·  view source on GitHub ↗

! Adds the given \a dataRange to this data selection. This is equivalent to the += operator but allows disabling immediate simplification by setting \a simplify to false. This can improve performance if adding a very large amount of data ranges successively. In this case, make sure to call \ref simplify manually, after the operation. */

Source from the content-addressed store, hash-verified

2545 call \ref simplify manually, after the operation.
2546*/
2547void QCPDataSelection::addDataRange(const QCPDataRange &dataRange, bool simplify)
2548{
2549 mDataRanges.append(dataRange);
2550 if (simplify)
2551 this->simplify();
2552}
2553
2554/*!
2555 Removes all data ranges. The data selection then contains no data points.

Callers 8

intersectionMethod · 0.80
inverseMethod · 0.80
selectTestRectMethod · 0.80
selectTestRectMethod · 0.80
selectTestMethod · 0.80
legendSingleClickMethod · 0.80
legendDoubleClickMethod · 0.80
selectionChangedMethod · 0.80

Calls 2

simplifyMethod · 0.95
appendMethod · 0.80

Tested by

no test coverage detected