cee::plt::MarkerLine

class MarkerLine

Settings for a marker line in an OverlayPlot object.

A marker line is a vertical line in the plot defined by a value on the x axis.

It can, for instance, be synchronized with state animation to show the matching position in the plot

Public Functions

double value() const

Returns the x-value for the marker line.

void setValue(double position)

Sets the marker lines position on the x-axis.

bool drawLine() const

Returns true if marker line is drawn.

void setDrawLine(bool drawMarkerLine)

Draws the marker line if set to true.

Color3f color() const

Returns the marker line color.

void setColor(const Color3f &color)

Sets the color of the marker line.