Models the title of a chart. More...
#include <shark/Core/Chart.h>
Collaboration diagram for shark::Chart::Title:Public Member Functions | |
| Title () | |
| Default c'tor. More... | |
| boost::property_tree::ptree & | properties () |
| Accesses the properties of the title. More... | |
| const boost::property_tree::ptree & | properties () const |
| Accesses the properties of the title. More... | |
| template<typename Archive > | |
| void | serialize (Archive &a, const unsigned int version) |
| (De-)Serializes the title, its attributes and properties. More... | |
Public Attributes | |
| std::string | m_text |
| The title text of the chart. More... | |
| HorizontalAlignment | m_horizontalAlignment |
| The horizontal alignment of the title text, default value: CENTER. More... | |
| VerticalAlignment | m_verticalAlignment |
| The vertical alignment of the title text, default value: MIDDLE. More... | |
| boost::property_tree::ptree | m_properties |
| Renderer specific properties of the title, modelled as kez/value pairs. More... | |
|
inline |
Accesses the properties of the title.
In addition to the attributes that are explicitly modelled arbitrary key/value pairs can be associated with the axis. These key/value-pairs might be used by renderers to further customize the output.
Definition at line 213 of file Chart.h.
References m_properties.
|
inline |
Accesses the properties of the title.
In addition to the attributes that are explicitly modelled arbitrary key/value pairs can be associated with the axis. These key/value-pairs might be used by renderers to further customize the output.
Definition at line 227 of file Chart.h.
References m_properties.
|
inline |
(De-)Serializes the title, its attributes and properties.
| Archive | The type of the archive. |
| [in,out] | a | The archive to read from/write to. |
| [in] | version | Currently unused. |
Definition at line 239 of file Chart.h.
References m_horizontalAlignment, m_properties, m_text, and m_verticalAlignment.
| HorizontalAlignment shark::Chart::Title::m_horizontalAlignment |
The horizontal alignment of the title text, default value: CENTER.
Definition at line 192 of file Chart.h.
Referenced by serialize().
| boost::property_tree::ptree shark::Chart::Title::m_properties |
Renderer specific properties of the title, modelled as kez/value pairs.
Definition at line 195 of file Chart.h.
Referenced by properties(), and serialize().
| std::string shark::Chart::Title::m_text |
The title text of the chart.
Definition at line 191 of file Chart.h.
Referenced by shark::HighchartRenderer< Stream >::render(), and serialize().
| VerticalAlignment shark::Chart::Title::m_verticalAlignment |
The vertical alignment of the title text, default value: MIDDLE.
Definition at line 193 of file Chart.h.
Referenced by serialize().