KChart
KChartLineDiagram.cpp
259 return d->attributesModel->data( KChart::ThreeDLineAttributesRole ).value<ThreeDLineAttributes>();
310 d->compressor.setResolution( static_cast<int>( this->size().width() * coordinatePlane()->zoomFactorX() ),
313 if ( !checkInvariants( true ) ) return QPair<QPointF, QPointF>( QPointF( 0, 0 ), QPointF( 0, 0 ) );
355 d->compressor.setResolution( static_cast<int>( size.width() * coordinatePlane()->zoomFactorX() ),
bool centerDataPoints() const
Definition: KChartLineDiagram.cpp:150
Class only listed here to document inheritance of some KChart classes.
A set of 3D line attributes.
Definition: KChartThreeDLineAttributes.h:32
bool compare(const LineDiagram *other) const
Returns true if both diagrams have the same settings.
Definition: KChartLineDiagram.cpp:84
static bool isBoundariesValid(const QRectF &r)
Checks whether both coordinates of r are valid according to isValueValid.
Definition: KChartAbstractGrid.cpp:69
virtual LineDiagram * clone() const
Creates an exact copy of this diagram.
Definition: KChartLineDiagram.cpp:76
void setType(const LineType type)
Sets the line diagram's type to type.
Definition: KChartLineDiagram.cpp:98
qreal threeDItemDepth(const QModelIndex &index) const override
Definition: KChartLineDiagram.cpp:277
const QPair< QPointF, QPointF > calculateDataBoundaries() const override
Definition: KChartLineDiagram.cpp:308
T value() const const
void setValueTrackerAttributes(const QModelIndex &index, const ValueTrackerAttributes &a)
Sets the value tracker attributes of the model index index to va.
Definition: KChartLineDiagram.cpp:287
Set of attributes for changing the appearance of line charts.
Definition: KChartLineAttributes.h:31
void setReverseDatasetOrder(bool reverse)
With this property set to true, data sets in a normal line diagram are drawn in reversed order...
Definition: KChartLineDiagram.cpp:155
void setCenterDataPoints(bool center)
If centerDataPoints() is true, all data points are moved by an offset of 0.5 to the right...
Definition: KChartLineDiagram.cpp:135
Base class for diagrams based on a cartesian coordianate system.
Definition: KChartAbstractCartesianDiagram.h:38
Base class common for all coordinate planes, CartesianCoordinatePlane, PolarCoordinatePlane, TernaryCoordinatePlane.
Definition: KChartAbstractCoordinatePlane.h:41
LineAttributes lineAttributes() const
Definition: KChartLineDiagram.cpp:205
Definition: KChartWidget.h:32
Cell-specific attributes regarding value tracking.
Definition: KChartValueTrackerAttributes.h:39
QVariant fromValue(const T &value)
QCA_EXPORT void init()
void paint(PaintContext *paintContext) override
Draw the diagram contents to the rectangle and painter, that are passed in as part of the paint conte...
Definition: KChartLineDiagram.cpp:333
void resetLineAttributes(int column)
Resets the line attributes of data set column.
Definition: KChartLineDiagram.cpp:181
ValueTrackerAttributes valueTrackerAttributes(const QModelIndex &index) const
Returns the value tracker attributes of the model index index.
Definition: KChartLineDiagram.cpp:296
virtual void resize(const QSizeF &area)
Called by the widget's sizeEvent.
Definition: KChartAbstractDiagram.cpp:128
void setThreeDLineAttributes(const ThreeDLineAttributes &a)
Sets the global 3D line attributes to la.
Definition: KChartLineDiagram.cpp:226
ThreeDLineAttributes threeDLineAttributes() const
Definition: KChartLineDiagram.cpp:257
Cartesian coordinate plane.
Definition: KChartCartesianCoordinatePlane.h:36
void resize(const QSizeF &area) override
Called by the widget's sizeEvent.
Definition: KChartLineDiagram.cpp:353
bool reverseDatasetOrder() const
Definition: KChartLineDiagram.cpp:160
void setLineAttributes(const LineAttributes &a)
Sets the global line attributes to la.
Definition: KChartLineDiagram.cpp:165
qreal height() const const
qreal width() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Thu Jan 14 2021 22:38:05 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Thu Jan 14 2021 22:38:05 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.