|
| | iAPlotCollection () |
| |
| void | add (std::shared_ptr< iAPlot > plot) |
| |
| void | clear () |
| |
| std::shared_ptr< iAPlotData > | data () override |
| | Retrieves the data used for drawing.
|
| |
| void | draw (QPainter &painter, size_t startIdx, size_t endIdx, iAMapper const &xMapper, iAMapper const &yMapper) const override |
| | Draws the plot.
|
| |
| void | setColor (QColor const &color) override |
| | Set plot color.
|
| |
| | iAPlot (std::shared_ptr< iAPlotData > data, QColor const &color) |
| |
| virtual | ~iAPlot () |
| |
| QColor const | color () const |
| | Get plot color.
|
| |
| virtual void | drawLegendItem (QPainter &painter, QRect const &rect) |
| | Draws a legend item for the plot.
|
| |
| virtual void | setVisible (bool visible) |
| | Sets whether the plot should be currently drawn or not.
|
| |
| virtual bool | visible () const |
| | Whether the plot is currently being drawn.
|
| |
Collects multiple plots and makes them act as a single plot.