a serie in a chart More...
#include <STOFFChart.hxx>
Public Types | |
enum | Type { S_Area , S_Bar , S_Bubble , S_Circle , S_Column , S_Gantt , S_Line , S_Radar , S_Ring , S_Scatter , S_Stock , S_Surface } |
the series type More... | |
enum | PointType { P_None =0 , P_Automatic , P_Square , P_Diamond , P_Arrow_Down , P_Arrow_Up , P_Arrow_Right , P_Arrow_Left , P_Bow_Tie , P_Hourglass , P_Circle , P_Star , P_X , P_Plus , P_Asterisk , P_Horizontal_Bar , P_Vertical_Bar } |
the point type More... | |
Public Member Functions | |
Serie () | |
constructor | |
Serie (Serie const &)=default | |
Serie (Serie &&)=default | |
Serie & | operator= (Serie const &)=default |
Serie & | operator= (Serie &&)=default |
virtual | ~Serie () |
destructor | |
bool | is1DStyle () const |
return true if the serie style is 1D | |
bool | valid () const |
return true if the serie is valid | |
void | addContentTo (librevenge::RVNGPropertyList &propList) const |
add content to the propList | |
void | addStyleTo (librevenge::RVNGPropertyList &propList) const |
add style to the propList | |
Static Public Member Functions | |
static std::string | getSerieTypeName (Type type) |
returns a string corresponding to a series type | |
Public Attributes | |
Type | m_type |
the type | |
Position | m_ranges [2] |
the data range | |
bool | m_useSecondaryY |
use or not the secondary y axis | |
STOFFFont | m_font |
the label font | |
Position | m_labelRanges [2] |
the label ranges if defined(unused) | |
Position | m_legendRange |
the legend range if defined | |
librevenge::RVNGString | m_legendText |
the legend name if defined | |
STOFFGraphicStyle | m_style |
the graphic style | |
PointType | m_pointType |
the point type | |
Friends | |
std::ostream & | operator<< (std::ostream &o, Serie const &series) |
operator<< | |
a serie in a chart
STOFFChart::Serie::Serie | ( | ) |
constructor
|
default |
|
default |
|
virtual |
destructor
void STOFFChart::Serie::addContentTo | ( | librevenge::RVNGPropertyList & | propList | ) | const |
add content to the propList
void STOFFChart::Serie::addStyleTo | ( | librevenge::RVNGPropertyList & | propList | ) | const |
add style to the propList
|
static |
returns a string corresponding to a series type
Referenced by STOFFChart::sendChart().
|
inline |
return true if the serie style is 1D
|
inline |
return true if the serie is valid
|
friend |
operator<<
STOFFFont STOFFChart::Serie::m_font |
the label font
Position STOFFChart::Serie::m_labelRanges[2] |
the label ranges if defined(unused)
Position STOFFChart::Serie::m_legendRange |
the legend range if defined
librevenge::RVNGString STOFFChart::Serie::m_legendText |
the legend name if defined
PointType STOFFChart::Serie::m_pointType |
the point type
Referenced by is1DStyle().
STOFFGraphicStyle STOFFChart::Serie::m_style |
the graphic style
Type STOFFChart::Serie::m_type |
the type
Referenced by is1DStyle().
bool STOFFChart::Serie::m_useSecondaryY |
use or not the secondary y axis