a serie in a chart More...
#include <WKSChart.h>
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 More... | |
virtual | ~Serie () |
destructor More... | |
bool | is1DStyle () const |
return true if the serie style is 1D More... | |
void | setPrimaryColor (WPSColor const &color, float opacity=1, bool force1D=false) |
set the primary color More... | |
void | setPrimaryPattern (WPSGraphicStyle::Pattern const &pattern, bool force1D=false) |
set the primary pattern More... | |
void | setSecondaryColor (WPSColor const &color) |
set the secondary color More... | |
bool | valid () const |
return true if the serie is valid More... | |
void | addContentTo (librevenge::RVNGPropertyList &propList) const |
add content to the propList More... | |
void | addStyleTo (librevenge::RVNGPropertyList &propList) const |
add style to the propList More... | |
Static Public Member Functions | |
static std::string | getSerieTypeName (Type type) |
returns a string corresponding to a series type More... | |
Public Attributes | |
Type | m_type |
the type More... | |
Position | m_ranges [2] |
the data range More... | |
bool | m_useSecondaryY |
use or not the secondary y axis More... | |
WPSFont | m_font |
the label font More... | |
Position | m_labelRanges [2] |
the label ranges if defined(unused) More... | |
Position | m_legendRange |
the legend range if defined More... | |
librevenge::RVNGString | m_legendText |
the legend name if defined More... | |
WPSGraphicStyle | m_style |
the graphic style More... | |
PointType | m_pointType |
the point type More... | |
Friends | |
std::ostream & | operator<< (std::ostream &o, Serie const &series) |
operator<< More... | |
a serie in a chart
WKSChart::Serie::Serie | ( | ) |
constructor
|
virtual |
destructor
void WKSChart::Serie::addContentTo | ( | librevenge::RVNGPropertyList & | propList | ) | const |
add content to the propList
void WKSChart::Serie::addStyleTo | ( | librevenge::RVNGPropertyList & | propList | ) | const |
add style to the propList
|
static |
returns a string corresponding to a series type
Referenced by WKSChart::sendChart().
|
inline |
return true if the serie style is 1D
Referenced by setPrimaryColor(), and setSecondaryColor().
|
inline |
set the primary color
void WKSChart::Serie::setPrimaryPattern | ( | WPSGraphicStyle::Pattern const & | pattern, |
bool | force1D = false |
||
) |
set the primary pattern
|
inline |
set the secondary color
|
inline |
return true if the serie is valid
|
friend |
operator<<
WPSFont WKSChart::Serie::m_font |
the label font
Position WKSChart::Serie::m_labelRanges[2] |
the label ranges if defined(unused)
Referenced by operator<<().
Position WKSChart::Serie::m_legendRange |
the legend range if defined
Referenced by operator<<(), and WKS4Chart::readChartSeries().
librevenge::RVNGString WKSChart::Serie::m_legendText |
the legend name if defined
Referenced by operator<<().
PointType WKSChart::Serie::m_pointType |
the point type
Referenced by is1DStyle(), and operator<<().
Position WKSChart::Serie::m_ranges[2] |
the data range
Referenced by operator<<(), LotusChart::updateChart(), and valid().
WPSGraphicStyle WKSChart::Serie::m_style |
the graphic style
Referenced by operator<<(), Serie(), setPrimaryColor(), and setSecondaryColor().
Type WKSChart::Serie::m_type |
the type
Referenced by is1DStyle(), operator<<(), WKS4Chart::readChartSeries(), and WKS4Chart::updateChart().
bool WKSChart::Serie::m_useSecondaryY |
use or not the secondary y axis