![]() |
Trading System API
3.0
Library for Simulating and Deploying Trading and Investment Strategies
|
Plots an 'area' on a chart pane. Plots are drawn from the lowest y-value to the current y-value. Use class plot::area instead if you want the area plot to oscillate around the zero line. More...
#include <TSCPlots.h>
Public Member Functions | |
rarea (const tsa::variant &value, const color &color=color::auto_color, bool dynamic_color=false, int jump_signal=(-1), bool has_pivot=false, double pivot=0.0) | |
Constructor. More... | |
~rarea (void) | |
Destructor. | |
![]() | |
plot_base (void) | |
Constructor. | |
plot_base (plot_type_t _t, const tsa::variant &_v, const color &_pc, const color &_sc, size_t _w, bool _dc, int _js, bool _has_pivot, double _piv) | |
plot_base (plot_type_t _t, size_t _nv, const color &_pc, const color &_sc, size_t _w, bool _dc, int _js, bool _has_pivot, double _piv) | |
~plot_base (void) | |
Plots an 'area' on a chart pane. Plots are drawn from the lowest y-value to the current y-value. Use class plot::area instead if you want the area plot to oscillate around the zero line.
|
explicit |
Constructor.
value | The current value to be drawn. |
color | The area color. |
dynamic_color | x |
jump_signal | Tells the plot to 'jump'. Use this to draw discontinuous plots. Submit a value of 1 to 'jump', else 0 for normal continuity. |
has_pivot | x |
pivot | x |