|
CBlueUI
C++ 跨平台跨框架的数据可视化工具
|
图表图形接口 更多...
Public 成员函数 | |
| CChartElement () | |
| virtual | ~CChartElement () |
| CChartDataLabel * | GetDataLabelInfo () const |
| void | SetDataLabelInfo (CChartDataLabel *label_style) |
| BOOL | IsDrawDataLabel () const |
| void | DoChangeEleThemeColors (const BeString &name) |
| void | DrawDataLabel (ISurface *surface, int x, int y, LPCTSTR str, const RECT &rc_diagram, RECT *rc_update) |
| virtual void | DoPaintElement (ISurface *surface, const GColor &color, const RECT &rc_diagram, RECT *rc_update) |
| virtual VecFloat2 | GetPoint () |
| virtual VecFloat2 | GetLogicPoint (int field=0) |
| virtual BOOL | IsViewportArea () |
| virtual BOOL | IsVaild () |
| virtual BOOL | GetAxisXPoint (VecFloat2 &pt) |
| virtual BOOL | OnNotifyMessage (IEventHandler *notify, UINT message, WPARAM wp, LPARAM lp) |
| virtual void | ShellElementAttribute (const BeString &str_name, const BeString &str_value, ICoordList *coord_list=NULL) |
| 命令控制和属性设置接口 | |
| virtual void | OnParseElementData (XMLItem *node, CControlUI *parent) |
| virtual void | OnTranslateLanguage () |
| virtual void | ChangeElementThemeColors () |
| virtual void | GetElementRelationship (std::vector< BeString > &list) |
| 获得类的继承关系 | |
| Public 成员函数 继承自 BUI::CNodeCell | |
| CNodeCell () | |
| CNodeCell (std::shared_ptr< CNodeData > valuedata) | |
| virtual | ~CNodeCell () |
| void | BindAction (std::shared_ptr< IActionNotify > action) |
| 绑定事件 | |
| std::shared_ptr< IActionNotify > | ActionOfNode () const |
| 获得事件 | |
| void | DoNodeAction () const |
| 执行事件 | |
| void | SetBackNodeData (const std::shared_ptr< CNodeData > &valuedata) |
| 设置背景显示节点 | |
| void | SetSyntaxAst (LPCTSTR str_script) |
| 设置内置脚本代码 | |
| void | SetName (BeString id) |
| 设置单元格名称id | |
| BeString & | Name () |
| 单元格名称id | |
| BOOL | IsEnable () const |
| 是否可用 | |
| void | SetEnable (BOOL enable) |
| 开启(或禁用)单元格。默认保持开启 | |
| void | OnDrawNodeCell (ISurface *surface, int paint_state, RECT rc_cell, const GColor &color_text, UINT text_align, PathTransInfo *clip_path=NULL) |
| void | SetNodeData (const std::shared_ptr< CNodeData > &valuedata) |
| 设置单元格数据 | |
| std::shared_ptr< CNodeData > & | GetNodeData () |
| 获得单元格数据 | |
| void | AddNodeData (const std::shared_ptr< CNodeData > &valuedata, int w=0, int h=0, LayoutMode mw=AdaptFill, LayoutMode mh=AdaptFill) |
| void | InsertNodeData (int pos, const std::shared_ptr< CNodeData > &valuedata, int w=0, int h=0, LayoutMode mw=AdaptFill, LayoutMode mh=AdaptFill) |
| void | SetNotifyHandler (IEventHandler *notify) |
| 设置消息通知处理者 | |
| void | NeedUpdateUI () |
| 刷新单元格ui | |
| void | NeedUpdateHostUI () |
| 刷新宿主UI | |
| virtual void | ShellNodeCellAttribute (const BeString &str_name, const BeString &str_value) |
| 属性设置 | |
| ItemState & | GetNodeState () |
| 单元格状态 | |
| void | ResetNodeState () |
| 重置单元格状态 | |
| BOOL | PtInCell (POINT pt) |
| 鼠标命中单元格测试 | |
| RECT | CellRect () const |
| 单元格位置矩形区域 | |
| void | SetRect (int x, int y, int w, int h) |
| 设置单元格位置矩形区域 | |
Protected 属性 | |
| CChartDataLabel * | m_data_label |
额外继承的成员函数 | |
| Public 属性 继承自 BUI::CNodeCell | |
| RECT | m_rc_cell |
| ItemState | m_state |
| BeString | m_name_id |
| IEventHandler * | m_notify_handler |
| std::shared_ptr< CNodeData > | m_backdata |
| std::shared_ptr< CNodeData > | m_rawdata |
| std::shared_ptr< IActionNotify > | m_action |
| syntax_info * | m_cmd_ast |
图表图形接口
| BUI::CChartElement::CChartElement | ( | ) |
|
virtual |
|
virtual |
| void BUI::CChartElement::DoChangeEleThemeColors | ( | const BeString & | name | ) |
|
virtual |
被 BUI::CChartEleAttitudeIndicator, BUI::CChartEleBoxPlot, BUI::CChartEleCandles, BUI::CChartEleCircleNet, BUI::CChartEleCorssLine, BUI::CChartEleHeatmap, BUI::CChartEleLegendBox, BUI::CChartElementImage, BUI::CChartEleMeterArc, BUI::CChartEleMeterPin, BUI::CChartEleNotes, BUI::CChartElePath, BUI::CChartElePathText, BUI::CChartElePie, BUI::CChartElePoint, BUI::CChartElePointHeat, BUI::CChartEleRangeBar, BUI::CChartEleRect, BUI::CChartEleScatter, BUI::CChartEleScatterBorder, BUI::CChartEleText, BUI::CChartEleTextLinearAxis, BUI::CChartEleTree , 以及 BUI::CChartEleWaterDroplet 重载.
| void BUI::CChartElement::DrawDataLabel | ( | ISurface * | surface, |
| int | x, | ||
| int | y, | ||
| LPCTSTR | str, | ||
| const RECT & | rc_diagram, | ||
| RECT * | rc_update ) |
| CChartDataLabel * BUI::CChartElement::GetDataLabelInfo | ( | ) | const |
|
virtual |
获得类的继承关系
被 BUI::CChartEleAttitudeIndicator, BUI::CChartEleBoxPlot, BUI::CChartEleCandles, BUI::CChartEleCircleNet, BUI::CChartEleCorssLine, BUI::CChartEleHeatmap, BUI::CChartEleLegendBox, BUI::CChartElementImage, BUI::CChartEleMeterArc, BUI::CChartEleMeterPin, BUI::CChartEleNotes, BUI::CChartElePath, BUI::CChartElePathText, BUI::CChartElePie, BUI::CChartElePoint, BUI::CChartElePointHeat, BUI::CChartEleRangeBar, BUI::CChartEleRect, BUI::CChartEleScatter, BUI::CChartEleScatterBorder, BUI::CChartEleText, BUI::CChartEleTextLinearAxis, BUI::CChartEleTree , 以及 BUI::CChartEleWaterDroplet 重载.
|
virtual |
|
virtual |
被 BUI::CChartElePoint 重载.
| BOOL BUI::CChartElement::IsDrawDataLabel | ( | ) | const |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
| void BUI::CChartElement::SetDataLabelInfo | ( | CChartDataLabel * | label_style | ) |
|
virtual |
命令控制和属性设置接口
| szName属性 | szText语法格式 |
|---|---|
| name 图形名称 | name="xxx" |
被 BUI::CChartEleAttitudeIndicator, BUI::CChartEleBoxPlot, BUI::CChartEleCandles, BUI::CChartEleCircleNet, BUI::CChartEleCorssLine, BUI::CChartEleHeatmap, BUI::CChartEleLegendBox, BUI::CChartElementImage, BUI::CChartEleMeterArc, BUI::CChartEleMeterPin, BUI::CChartEleNotes, BUI::CChartElePath, BUI::CChartElePathText, BUI::CChartElePie, BUI::CChartElePoint, BUI::CChartElePointHeat, BUI::CChartEleRangeBar, BUI::CChartEleRect, BUI::CChartEleScatter, BUI::CChartEleScatterBorder, BUI::CChartEleText, BUI::CChartEleTextLinearAxis, BUI::CChartEleTree , 以及 BUI::CChartEleWaterDroplet 重载.
|
protected |