|
CBlueUI
C++ 跨平台跨框架的数据可视化工具
|
通用基础的图表序列,可装载任意元素 更多...
类 BUI::CChartSeriesContain 继承关系图:Public 成员函数 | |
| CChartSeriesContain () | |
| virtual | ~CChartSeriesContain () |
| std::shared_ptr< CChartElement > | At (int i, BOOL reverse=FALSE) |
| 获得位置i的元素对象 | |
| template<class ElementType > | |
| ElementType * | Find (int i, BOOL reverse=FALSE) |
| void | Add (std::shared_ptr< CChartElement > ele) |
| void | Insert (int pos, std::shared_ptr< CChartElement > ele) |
| void | Delete (int pos, int count=1) |
| void | Clear () |
| void | MoveFirstEleToEnd () |
| 将第一个元素移动到末尾 | |
| void | GetValueY (std::vector< double > &vec, int field=0) |
| 获得Y轴数据数组 | |
| int | Size () const |
| 图元总数 | |
| void | ConvToPath (GPathStorage *path, LineMode mode, BOOL isReverse, int field=0) |
| void | OnPaintSeries (ISurface *pSurface, const RECT &rcDiagram, RECT *lpUpdate) override |
| BOOL | OnNotifyMessage (IEventHandler *notify, UINT message, WPARAM wp, LPARAM lp) override |
| void | OnParseItemData (XMLItem *pNode, ICoordList *crdlist) override |
| CChartElement * | FindChartElement (LPCTSTR name) override |
| void | OnTranslateLanguage () override |
| void | ChangeThemeColors () override |
Public 成员函数 继承自 BUI::CChartSeries | |
| CChartSeries () | |
| virtual | ~CChartSeries () |
| LPCTSTR | SeriesName () |
| 序列名称 | |
| void | SetSeriesName (LPCTSTR name) |
| 设置序列名称 | |
| void | SetSeriesID (UINT id) |
| 设置序列整数ID | |
| UINT | SeriesID () const |
| 获取序列整数ID | |
| BOOL | IsEnable () const |
| 可用性 | |
| void | SetEnable (BOOL enable) |
| 设置可用性 | |
| virtual void | OnTranslateLanguage () |
| virtual void | ChangeThemeColors () |
| virtual void | OnSizeChanged () |
| virtual void | OnPaintSeries (ISurface *pSurface, const RECT &rcDiagram, RECT *lpUpdate) |
| virtual BOOL | OnNotifyMessage (IEventHandler *notify, UINT message, WPARAM wp, LPARAM lp) |
| virtual void | ShellSeriesAttribute (const BeString &szName, const BeString &szText, ICoordList *crdlist) |
| 命令控制和属性设置接口 | |
| virtual void | OnParseItemData (XMLItem *pNode, ICoordList *crdlist) |
| virtual CChartElement * | FindChartElement (LPCTSTR name) |
Public 成员函数 继承自 BUI::VisibleProperty | |
| VisibleProperty () | |
| ~VisibleProperty () | |
| BOOL | IsVisable () const |
| void | SetVisable (BOOL bShow) |
Public 成员函数 继承自 BUI::CChartDataLabel | |
| CChartDataLabel () | |
| ~CChartDataLabel () | |
| BOOL | IsShowDataLabel () const |
| void | ShowDataLabelLine (BOOL bShow) |
| BOOL | IsShowDataLabelLine () const |
| void | SetDataLabelBgColor (const GColor &color) |
| void | SetEleColor (const GColor &color) |
| void | ShowDataLabel (BOOL bShow) |
| void | SetDatalabelTextDistance (double r) |
| void | SetDatalabelAngle (double rad) |
| void | SetDatalabelAngleDeg (double deg) |
Protected 成员函数 | |
| int | GetFirstVisibleEleIndex () const |
| int | GetVisibleEleEnd (int begin) const |
Protected 属性 | |
| std::vector< std::shared_ptr< CChartElement > > | m_elements |
Protected 属性 继承自 BUI::VisibleProperty | |
| BOOL | m_is_visbale |
额外继承的成员函数 | |
Public 属性 继承自 BUI::CChartSeries | |
| BeString | m_name |
| UINT | m_series_id |
| BOOL | m_is_enable |
| GShadowContain | m_shadow_contain |
Public 属性 继承自 BUI::CChartDataLabel | |
| BOOL | m_is_show_data_label |
| BOOL | m_is_draw_line |
| double | m_text_angle |
| double | m_text_distance |
| GColor | m_color_text |
| GColor | m_ele_color |
通用基础的图表序列,可装载任意元素
| BUI::CChartSeriesContain::CChartSeriesContain | ( | ) |
|
virtual |
| void BUI::CChartSeriesContain::Add | ( | std::shared_ptr< CChartElement > | ele | ) |
| std::shared_ptr< CChartElement > BUI::CChartSeriesContain::At | ( | int | i, |
| BOOL | reverse = FALSE |
||
| ) |
获得位置i的元素对象
| i | 索引位置 |
| reverse | 是否从后往前反向查找 |
|
overridevirtual |
重载 BUI::CChartSeries .
| void BUI::CChartSeriesContain::Clear | ( | ) |
| void BUI::CChartSeriesContain::ConvToPath | ( | GPathStorage * | path, |
| LineMode | mode, | ||
| BOOL | isReverse, | ||
| int | field = 0 |
||
| ) |
| void BUI::CChartSeriesContain::Delete | ( | int | pos, |
| int | count = 1 |
||
| ) |
| ElementType * BUI::CChartSeriesContain::Find | ( | int | i, |
| BOOL | reverse = FALSE |
||
| ) |
|
overridevirtual |
重载 BUI::CChartSeries .
|
protected |
| void BUI::CChartSeriesContain::GetValueY | ( | std::vector< double > & | vec, |
| int | field = 0 |
||
| ) |
获得Y轴数据数组
|
protected |
| void BUI::CChartSeriesContain::Insert | ( | int | pos, |
| std::shared_ptr< CChartElement > | ele | ||
| ) |
| void BUI::CChartSeriesContain::MoveFirstEleToEnd | ( | ) |
将第一个元素移动到末尾
|
overridevirtual |
重载 BUI::CChartSeries .
被 BUI::CChartSeriesLine , 以及 BUI::CChartSeriesLineInterpolation 重载.
|
overridevirtual |
重载 BUI::CChartSeries .
被 BUI::CChartSeriesLine , 以及 BUI::CChartSeriesLineInterpolation 重载.
|
overridevirtual |
重载 BUI::CChartSeries .
| int BUI::CChartSeriesContain::Size | ( | ) | const |
图元总数
|
protected |