![]() |
KD Chart API Documentation
3.1
|
Radar coordinate plane. More...
#include <KDChartRadarCoordinatePlane.h>
Public Member Functions | |
| RadarCoordinatePlane (Chart *parent=nullptr) | |
| ~RadarCoordinatePlane () override | |
| void | setTextAttributes (const TextAttributes &attr) |
| const TextAttributes | textAttributes () const |
Public Member Functions inherited from KDChart::PolarCoordinatePlane | |
| PolarCoordinatePlane (Chart *parent=nullptr) | |
| ~PolarCoordinatePlane () override | |
| void | addDiagram (AbstractDiagram *diagram) override |
| qreal | angleUnit () const |
| const GridAttributes | gridAttributes (bool circular) const |
| bool | hasOwnGridAttributes (bool circular) const |
| void | paint (QPainter *) override |
| qreal | radiusUnit () const |
| void | resetGridAttributes (bool circular) |
| void | setGridAttributes (bool circular, const GridAttributes &) |
| void | setStartPosition (qreal degrees) |
| Specify the rotation of the coordinate plane. More... | |
| void | setZoomCenter (const QPointF ¢er) override |
| void | setZoomFactors (qreal factorX, qreal factorY) override |
| void | setZoomFactorX (qreal factor) override |
| void | setZoomFactorY (qreal factor) override |
| qreal | startPosition () const |
| const QPointF | translate (const QPointF &diagramPoint) const override |
| const QPointF | translatePolar (const QPointF &diagramPoint) const |
| QPointF | zoomCenter () const override |
| qreal | zoomFactorX () const override |
| qreal | zoomFactorY () const override |
Public Member Functions inherited from KDChart::AbstractCoordinatePlane | |
| ~AbstractCoordinatePlane () override | |
| AbstractDiagram * | diagram () |
| AbstractDiagramList | diagrams () |
| ConstAbstractDiagramList | diagrams () const |
| Qt::Orientations | expandingDirections () const override |
| QRect | geometry () const override |
| GridAttributes | globalGridAttributes () const |
| DataDimensionsList | gridDimensionsList () |
| bool | isCornerSpacersEnabled () const |
| bool | isEmpty () const override |
| bool | isRubberBandZoomingEnabled () const |
| bool | isVisiblePoint (const QPointF &point) const |
| QSize | maximumSize () const override |
| QSize | minimumSize () const override |
| virtual void | mouseDoubleClickEvent (QMouseEvent *event) |
| virtual void | mouseMoveEvent (QMouseEvent *event) |
| virtual void | mousePressEvent (QMouseEvent *event) |
| virtual void | mouseReleaseEvent (QMouseEvent *event) |
| Chart * | parent () |
| const Chart * | parent () const |
| AbstractCoordinatePlane * | referenceCoordinatePlane () const |
| virtual void | replaceDiagram (AbstractDiagram *diagram, AbstractDiagram *oldDiagram=nullptr) |
| void | setCornerSpacersEnabled (bool enable) |
| void | setGeometry (const QRect &r) override |
| void | setGlobalGridAttributes (const GridAttributes &) |
| void | setParent (Chart *parent) |
| void | setReferenceCoordinatePlane (AbstractCoordinatePlane *plane) |
| void | setRubberBandZoomingEnabled (bool enable) |
| virtual AbstractCoordinatePlane * | sharedAxisMasterPlane (QPainter *p=nullptr) |
| QSize | sizeHint () const override |
| virtual void | takeDiagram (AbstractDiagram *diagram) |
Public Member Functions inherited from KDChart::AbstractArea | |
| ~AbstractArea () override | |
| virtual int | bottomOverlap (bool doNotRecalculate=false) const |
| virtual int | leftOverlap (bool doNotRecalculate=false) const |
| void | paintAll (QPainter &painter) override |
| virtual void | paintIntoRect (QPainter &painter, const QRect &rect) |
| Draws the background and frame, then calls paint(). More... | |
| virtual int | rightOverlap (bool doNotRecalculate=false) const |
| virtual int | topOverlap (bool doNotRecalculate=false) const |
Public Member Functions inherited from KDChart::AbstractAreaBase | |
| void | alignToReferencePoint (const RelativePosition &position) |
| BackgroundAttributes | backgroundAttributes () const |
| bool | compare (const AbstractAreaBase *other) const |
| FrameAttributes | frameAttributes () const |
| void | getFrameLeadings (int &left, int &top, int &right, int &bottom) const |
| virtual void | paintBackground (QPainter &painter, const QRect &rectangle) |
| virtual void | paintFrame (QPainter &painter, const QRect &rectangle) |
| void | setBackgroundAttributes (const BackgroundAttributes &a) |
| void | setFrameAttributes (const FrameAttributes &a) |
Public Member Functions inherited from KDChart::AbstractLayoutItem | |
| AbstractLayoutItem (Qt::Alignment itemAlignment={}) | |
| virtual void | paintCtx (PaintContext *context) |
| QLayout * | parentLayout () |
| void | removeFromParentLayout () |
| void | setParentLayout (QLayout *lay) |
| virtual void | setParentWidget (QWidget *widget) |
| virtual void | sizeHintChanged () const |
Radar coordinate plane.
Definition at line 23 of file KDChartRadarCoordinatePlane.h.
|
explicit |
Definition at line 18 of file KDChartRadarCoordinatePlane.cpp.
|
override |
Definition at line 22 of file KDChartRadarCoordinatePlane.cpp.
| void KDChart::RadarCoordinatePlane::setTextAttributes | ( | const TextAttributes & | attr | ) |
Set the attributes to be used for axis captions.
To disable axis captions, for example, your code should like this:
Definition at line 26 of file KDChartRadarCoordinatePlane.cpp.
References d.
| const KDChart::TextAttributes RadarCoordinatePlane::textAttributes | ( | ) | const |
Definition at line 31 of file KDChartRadarCoordinatePlane.cpp.
References d.