TickPlot.hh 888 Bytes
/*
 * TickPlot.hh
 *
 *  Created on: 16 janv. 2014
 *      Author: CS
 */

#ifndef TICKPLOT_HH_
#define TICKPLOT_HH_

#include "DecoratorPlot.hh"
#include "PanelPlotOutput.hh"
#include "TickPlotNode.hh"
#include "Time/TimePlot.hh"


namespace plot {

#define TICKPLOT_NODENAME "tickPlot"

/**
 * @brief Plot that may draw 2 kinds of plots :
 * - a standalone tick plot with a dedicated (and hidden) time axis
 * - a tick plot related to a time plot (in the same panel) that uses
 *   the time plot time axis
 *
 */
class TickPlot: public DecoratorPlot {
public:
	TickPlot(AMDA::Parameters::ParameterManager& manager,
			boost::shared_ptr<Panel> panel, bool isStandalone);
	virtual ~TickPlot();

	virtual const std::string subTypeName()
	{
		return TICKPLOT_NODENAME;
	}

	/**
	 * @brief Value decimal format
	 */
	std::string _format;
};

} /* namespace plot */
#endif /* TICKPLOT_HH_ */