18#ifndef INCLUDED_CCHART
19#define INCLUDED_CCHART
#define GUI_OBJECT(obj)
Definition: IGUIObject.h:50
Definition: Canvas2D.h:36
Chart for a data visualization as lines or points.
Definition: CChart.h:46
std::vector< CVector2D > m_TextPositions
Definition: CChart.h:79
CGUISimpleSetting< CGUISeries > m_SeriesSetting
Definition: CChart.h:91
CGUISimpleSetting< CStrW > m_FormatX
Definition: CChart.h:88
void DrawAxes(CCanvas2D &canvas) const
Definition: CChart.cpp:66
CVector2D m_LeftBottom
Definition: CChart.h:77
CGUISimpleSetting< float > m_BufferZone
Definition: CChart.h:86
virtual ~CChart()
Definition: CChart.cpp:46
CVector2D m_RightTop
Definition: CChart.h:77
virtual void Draw(CCanvas2D &canvas)
Draws the Chart.
Definition: CChart.cpp:76
CGUISimpleSetting< float > m_AxisWidth
Definition: CChart.h:85
std::vector< CChartData > m_Series
Definition: CChart.h:75
bool m_EqualY
Definition: CChart.h:81
CGUISimpleSetting< CStrW > m_Font
Definition: CChart.h:87
CGUISimpleSetting< CStrW > m_FormatY
Definition: CChart.h:89
void UpdateBounds()
Definition: CChart.cpp:224
bool m_EqualX
Definition: CChart.h:81
void UpdateCachedSize()
Definition: CChart.cpp:50
void UpdateSeries()
Definition: CChart.cpp:128
CSize2D AddFormattedValue(const CStrW &format, const float value, const CStrW &font, const float buffer_zone)
Definition: CChart.cpp:186
virtual void HandleMessage(SGUIMessage &Message)
Definition: CChart.cpp:56
CChart(CGUI &pGUI)
Definition: CChart.cpp:32
void SetupText()
Setup texts.
Definition: CChart.cpp:147
virtual CRect GetChartRect() const
Definition: CChart.cpp:120
CGUISimpleSetting< CGUIColor > m_AxisColor
Definition: CChart.h:84
CGUISimpleSetting< CGUIList > m_SeriesColor
Definition: CChart.h:90
The main object that represents a whole GUI page.
Definition: CGUI.h:61
Rectangle class used for screen rectangles.
Definition: Rect.h:31
Definition: Vector2D.h:32
GUI object such as a button or an input-box.
Definition: IGUIObject.h:60
Framework for handling Output text.
Definition: IGUITextOwner.h:53
std::vector< CVector2D > m_Points
Definition: CChart.h:39
CGUIColor m_Color
Definition: CChart.h:38
Same as the CColor class, but this one can also parse colors predefined in the GUI page (such as "yel...
Definition: CGUIColor.h:30
Message send to IGUIObject::HandleMessage() in order to give life to Objects manually with a derived ...
Definition: SGUIMessage.h:68