|
| | QwtPlotBarChart (const QString &title=QString()) |
| | Constructor.
|
| |
| | QwtPlotBarChart (const QwtText &title) |
| | Constructor.
|
| |
| virtual | ~QwtPlotBarChart () |
| | Destructor .
|
| |
| virtual int | rtti () const override |
| | Get the runtime type information.
|
| |
| void | setSamples (const QVector< QPointF > &) |
| | Initialize data with an array of points.
|
| |
| void | setSamples (const QVector< double > &) |
| | Initialize data with an array of doubles.
|
| |
| void | setSamples (QwtSeriesData< QPointF > *) |
| | Assign a series of samples.
|
| |
| void | setSymbol (QwtColumnSymbol *) |
| | Assign a symbol.
|
| |
| const QwtColumnSymbol * | symbol () const |
| | Get the current symbol.
|
| |
| void | setPen (const QPen &p) |
| | Set the bar symbol pen.
|
| |
| QPen | pen () const |
| | Get the bar symbol pen.
|
| |
| void | setBrush (const QBrush &b) |
| | Set the bar symbol brush.
|
| |
| QBrush | brush () const |
| | Get the bar symbol brush.
|
| |
| void | setFrameStyle (QwtColumnSymbol::FrameStyle f) |
| | Set the bar symbol frame style.
|
| |
| QwtColumnSymbol::FrameStyle | frameStyle () const |
| | Get the bar symbol frame style.
|
| |
| void | setLegendMode (LegendMode) |
| | Set the mode that decides what to display on the legend.
|
| |
| LegendMode | legendMode () const |
| | Get the legend mode.
|
| |
| virtual void | drawSeries (QPainter *, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &canvasRect, int from, int to) const override |
| | Draw an interval of the bar chart.
|
| |
| virtual QRectF | boundingRect () const override |
| | Get the bounding rectangle of all samples.
|
| |
| virtual QwtColumnSymbol * | specialSymbol (int sampleIndex, const QPointF &) const |
| | Get a special symbol for a specific sample.
|
| |
| virtual QwtText | barTitle (int sampleIndex) const |
| | Return the title of a bar.
|
| |
| | QwtPlotAbstractBarChart (const QwtText &title) |
| | Constructor.
|
| |
| virtual | ~QwtPlotAbstractBarChart () |
| | Destructor .
|
| |
| void | setLayoutPolicy (LayoutPolicy) |
| | Set the layout policy.
|
| |
| LayoutPolicy | layoutPolicy () const |
| | Get the layout policy.
|
| |
| void | setLayoutHint (double) |
| | Set the layout hint.
|
| |
| double | layoutHint () const |
| | Get the layout hint.
|
| |
| void | setSpacing (int) |
| | Set the spacing between bars.
|
| |
| int | spacing () const |
| | Get the spacing between bars.
|
| |
| void | setMargin (int) |
| | Set the margin around the bars.
|
| |
| int | margin () const |
| | Get the margin around the bars.
|
| |
| void | setBaseline (double) |
| | Set the baseline value.
|
| |
| double | baseline () const |
| | Get the baseline value.
|
| |
| virtual void | getCanvasMarginHint (const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &canvasRect, double &left, double &top, double &right, double &bottom) const override |
| | Calculate a hint for the canvas margin.
|
| |
| | QwtPlotSeriesItem (const QString &title=QString()) |
| | Constructor.
|
| |
| | QwtPlotSeriesItem (const QwtText &title) |
| | Constructor.
|
| |
| virtual | ~QwtPlotSeriesItem () |
| | Destructor .
|
| |
| void | setOrientation (Qt::Orientation) |
| | Set the orientation of the item.
|
| |
| Qt::Orientation | orientation () const |
| | Get the orientation of the plot item.
|
| |
| virtual void | draw (QPainter *, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &canvasRect) const override |
| | Draw the complete series.
|
| |
| virtual void | updateScaleDiv (const QwtScaleDiv &, const QwtScaleDiv &) override |
| | Update the scale divisions.
|
| |
| | QwtPlotItem () |
| | Default constructor.
|
| |
| | QwtPlotItem (const QString &title) |
| | Constructor with title as QString.
|
| |
| | QwtPlotItem (const QwtText &title) |
| | Constructor with title as QwtText.
|
| |
| virtual | ~QwtPlotItem () |
| | Destructor.
|
| |
| void | attach (QwtPlot *plot) |
| | Attach the item to a plot.
|
| |
| void | detach () |
| | Detach the item from the plot.
|
| |
| QwtPlot * | plot () const |
| | Get the plot the item is attached to.
|
| |
| void | setTitle (const QString &title) |
| | Set the title using a QString.
|
| |
| void | setTitle (const QwtText &title) |
| | Set the title using a QwtText.
|
| |
| const QwtText & | title () const |
| | Get the title.
|
| |
| void | setItemAttribute (ItemAttribute, bool on=true) |
| | Set an item attribute.
|
| |
| bool | testItemAttribute (ItemAttribute) const |
| | Test an item attribute.
|
| |
| void | setItemInterest (ItemInterest, bool on=true) |
| | Set an item interest.
|
| |
| bool | testItemInterest (ItemInterest) const |
| | Test an item interest.
|
| |
| void | setRenderHint (RenderHint, bool on=true) |
| | Set a render hint.
|
| |
| bool | testRenderHint (RenderHint) const |
| | Test a render hint.
|
| |
| void | setRenderThreadCount (uint numThreads) |
| | Set the number of render threads.
|
| |
| uint | renderThreadCount () const |
| | Get the number of render threads.
|
| |
| void | setLegendIconSize (const QSize &) |
| | Set the legend icon size.
|
| |
| QSize | legendIconSize () const |
| | Get the legend icon size.
|
| |
| double | z () const |
| | Get the z-value.
|
| |
| void | setZ (double z) |
| | Set the z-value.
|
| |
| void | show () |
| | Show the item.
|
| |
| void | hide () |
| | Hide the item.
|
| |
| virtual void | setVisible (bool) |
| | Set the visibility.
|
| |
| bool | isVisible () const |
| | Check if the item is visible.
|
| |
| void | setAxes (QwtAxisId xAxis, QwtAxisId yAxis) |
| | Set both axes.
|
| |
| void | setXAxis (QwtAxisId) |
| | Set the x-axis.
|
| |
| QwtAxisId | xAxis () const |
| | Get the x-axis.
|
| |
| void | setYAxis (QwtAxisId) |
| | Set the y-axis.
|
| |
| QwtAxisId | yAxis () const |
| | Get the y-axis.
|
| |
| virtual void | itemChanged () |
| | Notify the plot that the item has changed.
|
| |
| virtual void | legendChanged () |
| | Notify the item that the legend has changed.
|
| |
| virtual void | updateLegend (const QwtPlotItem *, const QList< QwtLegendData > &) |
| | Update the item with changes of the legend.
|
| |
| QRectF | scaleRect (const QwtScaleMap &, const QwtScaleMap &) const |
| | Calculate the scale rectangle.
|
| |
| QRectF | paintRect (const QwtScaleMap &, const QwtScaleMap &) const |
| | Calculate the paint rectangle.
|
| |
|
void | setData (QwtSeriesData< QPointF > *series) |
| |
|
QwtSeriesData< QPointF > * | data () |
| |
|
const QwtSeriesData< QPointF > * | data () const |
| |
|
QPointF | sample (size_t index) const |
| |
| virtual size_t | dataSize () const override |
| |
| virtual QRectF | dataRect () const override |
| |
| virtual void | setRectOfInterest (const QRectF &rect) override |
| | Set a the "rectangle of interest" for the stored series.
|
| |
|
QwtSeriesData< QPointF > * | swapData (QwtSeriesData< QPointF > *series) |
| |
QwtPlotBarChart displays a series of values as bars.