|
Axis & | newX (double lowRatio=0, double highRatio=1) |
| Creates an X axis, covering some portion of the left/right side. More...
|
|
Axis & | newY (double lowRatio=0, double highRatio=1) |
| Creates a Y axis, covering some portion of the bottom/top side. More...
|
|
| 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. More...
|
|
Legend & | legend (double xRatio, double yRatio) |
| Creates a legend at a given position. More...
|
|
Image & | image (Axis &x, Axis &y, Bounds dataBounds, const std::string &url) |
|
Image & | image (Bounds dataBounds, const std::string &url) |
|
Image & | image (double left, double right, double top, double bottom, const std::string &url) |
|
virtual PlotStyle | defaultStyle () const |
|
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. More...
|
|
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. More...
|
|
virtual void | loopFrame (double loopTime) |
| Sets loop time (or < 0 to disable) More...
|
|
virtual void | clearFrames () |
| Removes all animation frames. Mostly useful if re-using the diagram for multiple animations. More...
|
|