|
| Axis & | newX (double lowRatio=0, double highRatio=1) |
| | Creates an X axis, covering some portion of the left/right side.
|
| |
| Axis & | newY (double lowRatio=0, double highRatio=1) |
| | Creates a Y axis, covering some portion of the bottom/top side.
|
| |
|
| Plot2D (double width, double height) |
| |
|
| Plot2D (Axis ax, Axis ay) |
| |
| void | writeData (SvgWriter &svg, const PlotStyle &style) override |
| |
| void | writeLabel (SvgWriter &svg, const PlotStyle &style) override |
| |
| void | layout (const PlotStyle &style) override |
| |
|
Line2D & | line (Axis &x, Axis &y, PlotStyle::Counter styleIndex) |
| |
|
Line2D & | line (Axis &x, Axis &y) |
| |
|
Line2D & | line (PlotStyle::Counter styleIndex) |
| |
|
Line2D & | line () |
| |
| template<class ... Args> |
| Line2D & | fill (Args &&...args) |
| | Convenience method, returns a line set to only fill.
|
| |
| template<class ... Args> |
| Line2D & | lineFill (Args &&...args) |
| | Convenience method, returns a line including fills.
|
| |
| Legend & | legend (double xRatio, double yRatio) |
| | Creates a legend at a given position.
|
| |
| Image & | image (Axis &x, Axis &y, Bounds dataBounds, const std::string &url) |
| | Embeds an image using the given data co-ordinates.
|
| |
|
Image & | image (Bounds dataBounds, const std::string &url) |
| |
|
Image & | image (double left, double right, double top, double bottom, const std::string &url) |
| |
| Plot2D & | title (const std::string &t, double rx=0.5, double ry=2) |
| | Adds a title to the plot, using the same position rules as .legend()
|
| |
|
void | write (std::ostream &o, const PlotStyle &style) |
| |
|
void | write (const std::string &svgFile, const PlotStyle &style) |
| |
|
void | write (std::ostream &o) |
| |
|
void | write (const std::string &svgFile) |
| |
|
ScheduledWrite | writeLater (const std::string &svgFile) |
| |
|
| 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.
|
| |
| virtual void | toFrame (double time, bool clear=true) |
| | Creates a frame from the current stat, and optionally clears the state ready for the next frame.
|
| |
| virtual void | loopFrame (double loopTime) |
| | Sets loop time (or < 0 to disable) for this element and all children.
|
| |
| virtual void | clearFrames () |
| | Removes all animation frames. Mostly useful if re-using the diagram for multiple animations.
|
| |