! Returns whether the legend contains a QCPPlottableLegendItem which is associated with \a plottable (e.g. a \ref QCPGraph*). If such an item isn't in the legend, returns false. \see itemWithPlottable */
| 19415 | \see itemWithPlottable |
| 19416 | */ |
| 19417 | bool QCPLegend::hasItemWithPlottable(const QCPAbstractPlottable *plottable) const |
| 19418 | { |
| 19419 | return itemWithPlottable(plottable); |
| 19420 | } |
| 19421 | |
| 19422 | /*! |
| 19423 | Adds \a item to the legend, if it's not present already. The element is arranged according to the |