! 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 */
| 15865 | \see setColorStops, clearColorStops |
| 15866 | */ |
| 15867 | void QCPColorGradient::setColorStopAt(double position, const QColor &color) |
| 15868 | { |
| 15869 | mColorStops.insert(position, color); |
| 15870 | mColorBufferInvalidated = true; |
| 15871 | } |
| 15872 | |
| 15873 | /*! |
| 15874 | Sets whether the colors in between the configured color stops (see \ref setColorStopAt) shall be |