Enumerations | |
enum | MarginSide |
enum | AntialiasedElement |
enum | PlottingHint |
enum | Interaction |
Functions | |
bool | isInvalidData (double value) |
bool | isInvalidData (double value1, double value2) |
void | setMarginValue (QMargins &margins, QCP::MarginSide side, int value) |
int | getMarginValue (const QMargins &margins, QCP::MarginSide side) |
The QCP Namespace contains general enums and QFlags used throughout the QCustomPlot library
enum QCP::MarginSide |
Defines what objects of a plot can be forcibly drawn antialiased/not antialiased. If an object is neither forcibly drawn antialiased nor forcibly drawn not antialiased, it is up to the respective element how it is drawn. Typically it provides a setAntialiased function for this.
AntialiasedElements
is a flag of or-combined elements of this enum type.
Enumerator | |
---|---|
aeAxes |
|
aeGrid |
|
aeSubGrid |
|
aeLegend |
|
aeLegendItems |
|
aePlottables |
|
aeItems |
|
aeScatters |
|
aeErrorBars |
|
aeFills |
|
aeZeroLine |
|
aeAll |
|
aeNone |
|
enum QCP::PlottingHint |
Defines plotting hints that control various aspects of the quality and speed of plotting.
Enumerator | |
---|---|
phNone |
|
phFastPolylines |
|
phForceRepaint |
|
phCacheLabels |
|
enum QCP::Interaction |
Defines the mouse interactions possible with QCustomPlot.
Interactions
is a flag of or-combined elements of this enum type.
Enumerator | |
---|---|
iRangeDrag |
|
iRangeZoom |
|
iMultiSelect |
|
iSelectPlottables |
|
iSelectAxes |
|
iSelectLegend |
|
iSelectItems |
|
iSelectOther |
|
|
inline |
Returns whether the specified value is considered an invalid data value for plottables (i.e. is nan or +/-inf). This function is used to check data validity upon replots, when the compiler flag QCUSTOMPLOT_CHECK_DATA
is set.
|
inline |
This is an overloaded function.
Checks two arguments instead of one.
|
inline |
Sets the specified side of margins to value
|
inline |
Returns the value of the specified side of margins. If side is QCP::msNone or QCP::msAll, returns 0.