Trading System API  3.0
Library for Simulating and Deploying Trading and Investment Strategies
tsa::plot::area Class Reference

Plots a series as an 'area plot' on a chart pane. More...

#include <TSCPlots.h>

Inheritance diagram for tsa::plot::area:
tsa::plot::plot_base

Public Member Functions

 area (const tsa::variant &value, const color &color=color::auto_color, bool dynamic_color=false, int jumpSignal=(-1))
 Constructor. More...
 
 area (const tsa::variant &value, const color &color_prim, const color &color_sec, int jumpSignal=(-1))
 Constructor. More...
 
 ~area (void)
 Destructor.
 
- Public Member Functions inherited from tsa::plot::plot_base
 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)
 

Detailed Description

Plots a series as an 'area plot' on a chart pane.

Constructor & Destructor Documentation

tsa::plot::area::area ( const tsa::variant value,
const color color = color::auto_color,
bool  dynamic_color = false,
int  jumpSignal = (-1) 
)
explicit

Constructor.

Parameters
valueThe current value to be drawn.
colorThe area color.
dynamic_colorSet this to true if the color changes from bar to bar.
jumpSignalTells the plot to 'jump'. Use this to draw discontinuous plots. Submit a value of 1 to 'jump', else 0 for normal continuity.
tsa::plot::area::area ( const tsa::variant value,
const color color_prim,
const color color_sec,
int  jumpSignal = (-1) 
)
explicit

Constructor.

Parameters
valueThe current value to be drawn.
color_primPrimary color
color_secSecondary color
jumpSignalTells the plot to 'jump'. Use this to draw discontinuous plots. Submit a value of 1 to 'jump', else 0 for normal continuity.