! Sets the \a color the gradient will have at the specified \a position (from 0 to 1). In between these color stops, the color is interpolated according to \ref setColorInterpolation. \see setColorStops, clearColorStops */
| 16626 | \see setColorStops, clearColorStops |
| 16627 | */ |
| 16628 | void QCPColorGradient::setColorStopAt(double position, const QColor &color) |
| 16629 | { |
| 16630 | mColorStops.insert(position, color); |
| 16631 | mColorBufferInvalidated = true; |
| 16632 | } |
| 16633 | |
| 16634 | /*! |
| 16635 | Sets whether the colors in between the configured color stops (see \ref setColorStopAt) shall be |