A line on a 2D plot, with fill and/or stroke.
|
| Line2D (Axis &axisX, Axis &axisY, PlotStyle::Counter styleIndex) |
|
Line2D & | add (double x, double y) |
|
template<class X , class Y > |
Line2D & | addArray (X &&x, Y &&y, size_t size) |
|
template<class X , class Y > |
Line2D & | addArray (X &&x, Y &&y) |
|
Line2D & | marker (double x, double y, int shape=-1) |
|
void | toFrame (double time, bool clear=true) override |
| Creates a frame from the current stat, and optionally clears the state ready for the next frame. More...
|
|
void | loopFrame (double endTime) override |
| Sets loop time (or < 0 to disable) More...
|
|
void | clearFrames () override |
| Removes all animation frames. Mostly useful if re-using the diagram for multiple animations. More...
|
|
Line2D & | label (double valueX, double valueY, std::string name) |
|
Line2D & | label (double valueX, double valueY, std::string name, double degrees, double distance=0) |
|
Line2D & | label (std::string name, double degrees=0, double distance=0) |
|
Line2D & | label (double xIsh, std::string name, double degrees=0, double distance=0) |
|
void | writeLabel (SvgWriter &svg, const PlotStyle &style) override |
|
void | writeData (SvgWriter &svg, const PlotStyle &style) override |
|
|
Line2D & | drawLine (bool draw=true) |
|
Line2D & | drawFill (bool draw=true) |
|
Line2D & | fillToY (double y) |
| Start/end the fill at a given Y value. More...
|
|
Line2D & | fillToX (double x) |
| Start/end the fill at a given X value. More...
|
|
Line2D & | fillTo (Line2D &other) |
|
| SvgDrawable (const SvgDrawable &other)=delete |
|
SvgDrawable & | operator= (const SvgDrawable &other)=delete |
|
Bounds | layoutIfNeeded (const PlotStyle &style) |
|
void | addChild (SvgDrawable *child, bool front=false) |
| Takes ownership of the child. More...
|
|