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

Plots multiple 'markers' which are 'shapes'. More...

#include <TSCPlots.h>

Inheritance diagram for tsa::plot::multi_marker:
tsa::plot::plot_base

Public Member Functions

 multi_marker (marker_t type, const std::vector< double > &y_values, const color &color=color::auto_color, size_t weight=DEFAULT_WEIGHT)
 Constructor. More...
 
 ~multi_marker (void)
 x
 
- 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 multiple 'markers' which are 'shapes'.

Constructor & Destructor Documentation

tsa::plot::multi_marker::multi_marker ( marker_t  type,
const std::vector< double > &  y_values,
const color color = color::auto_color,
size_t  weight = DEFAULT_WEIGHT 
)
explicit

Constructor.

The weight with which the shapes are to be drawn.

Parameters
typeThe type of marker.
y_valuesAn array of y-values (prices) on which shapes will be drawn.
colorThe shape color.