chart_data Class Reference

#include <chart_data.h>

Inheritance diagram for chart_data:
heatmap_data plot_data< Point > flowcell_data

Public Member Functions

void set_axes (const axes &xyaxes)
 
void set_xaxis (const axis &xaxes)
 
void set_yaxis (const axis &yaxes)
 
void set_xlabel (const std::string &label)
 
void set_ylabel (const std::string &label)
 
void set_range (const float xmin, const float xmax, const float ymin, const float ymax)
 
void set_xrange (const float vmin, const float vmax)
 
void set_yrange (const float vmin, const float vmax)
 
void set_title (const std::string &title)
 
void clear ()
 
const axisx_axis () const
 
const axisy_axis () const
 
const std::string & title () const
 
const axesxyaxes () const
 

Friends

std::ostream & operator<< (std::ostream &out, const chart_data &data)
 
std::istream & operator>> (std::istream &in, chart_data &data)
 

Detailed Description

Encapsulates all data for a chart

Member Function Documentation

void clear ( )
inline

Clear the title and axis

void set_axes ( const axes xyaxes)
inline

Set both axes

Parameters
xyaxesboth axes
void set_range ( const float  xmin,
const float  xmax,
const float  ymin,
const float  ymax 
)
inline

Set the limits of the axis

Parameters
xminminimum value
xmaxmaximum value
yminminimum value
ymaxmaximum value
void set_title ( const std::string &  title)
inline

Set the title of the plot

Parameters
titleplot title
void set_xaxis ( const axis xaxes)
inline

Set the X-axis

Parameters
xaxesx axis
void set_xlabel ( const std::string &  label)
inline

Set the label of the X-axis

Parameters
labeltext label
void set_xrange ( const float  vmin,
const float  vmax 
)
inline

Set the limits of the X-axis

Parameters
vminminimum value
vmaxmaximum value
void set_yaxis ( const axis yaxes)
inline

Set the Y-axis

Parameters
yaxesy axis
void set_ylabel ( const std::string &  label)
inline

Set the label of the Y-axis

Parameters
labeltext label
void set_yrange ( const float  vmin,
const float  vmax 
)
inline

Set the limits of the Y-axis

Parameters
vminminimum value
vmaxmaximum value

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const chart_data data 
)
friend
std::istream& operator>> ( std::istream &  in,
chart_data data 
)
friend

The documentation for this class was generated from the following file: