| Enumerations | |
| enum | ResolutionUnit | 
| enum | ExportPen | 
| enum | SignDomain | 
| enum | MarginSide | 
| enum | AntialiasedElement | 
| enum | PlottingHint | 
| enum | Interaction | 
| enum | SelectionRectMode | 
| enum | SelectionType | 
| 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) | 
| Variables | |
| const QMetaObject | staticMetaObject | 
The QCP Namespace contains general enums, QFlags and functions used throughout the QCustomPlot library.
It provides QMetaObject-based reflection of its enums and flags via QCP::staticMetaObject.
| enum QCP::ResolutionUnit | 
| enum QCP::ExportPen | 
Defines how cosmetic pens (pens with numerical width 0) are handled during export.
| enum QCP::SignDomain | 
Represents negative and positive sign domain, e.g. for passing to QCPAbstractPlottable::getKeyRange and QCPAbstractPlottable::getValueRange.
This is primarily needed when working with logarithmic axis scales, since only one of the sign domains can be visible at a time.
| 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 | 
 | 
| aeFills | 
 | 
| aeZeroLine | 
 | 
| aeOther | 
 | 
| aeAll | 
 | 
| aeNone | 
 | 
| enum QCP::PlottingHint | 
Defines plotting hints that control various aspects of the quality and speed of plotting.
| Enumerator | |
|---|---|
| phNone | 
 | 
| phFastPolylines | 
 | 
| phImmediateRefresh | 
 | 
| 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 | 
 | 
Defines the behaviour of the selection rect.
| Enumerator | |
|---|---|
| srmNone | The selection rect is disabled, and all mouse events are forwarded to the underlying objects, e.g. for axis range dragging. | 
| srmZoom | When dragging the mouse, a selection rect becomes active. Upon releasing, the axes that are currently set as range zoom axes (QCPAxisRect::setRangeZoomAxes) will have their ranges zoomed accordingly. | 
| srmSelect | When dragging the mouse, a selection rect becomes active. Upon releasing, plottable data points that were within the selection rect are selected, if the plottable's selectability setting permits. (See data selection mechanism for details.) | 
| srmCustom | When dragging the mouse, a selection rect becomes active. It is the programmer's responsibility to connect according slots to the selection rect's signals (e.g. QCPSelectionRect::accepted) in order to process the user interaction. | 
| enum QCP::SelectionType | 
Defines the different ways a plottable can be selected. These images show the effect of the different selection types, when the indicated selection rect was dragged:
|   
stNone |   
stWhole |   
stSingleData |   
stDataRange |   
stMultipleDataRanges | 
| Enumerator | |
|---|---|
| stNone | The plottable is not selectable. | 
| stWhole | Selection behaves like stMultipleDataRanges, but if there are any data points selected, the entire plottable is drawn as selected. | 
| stSingleData | One individual data point can be selected at a time. | 
| stDataRange | Multiple contiguous data points (a data range) can be selected. | 
| stMultipleDataRanges | Any combination of data points/ranges can be selected. | 
| 
 | 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.