CBlueUI
C++ 跨平台跨框架的数据可视化工具
|
图表图形接口 更多...
Public 成员函数 | |
CChartElement () | |
virtual | ~CChartElement () |
CChartDataLabel * | GetDataLabelInfo () const |
void | SetDataLabelInfo (CChartDataLabel *labelStyle) |
BOOL | IsDrawDataLabel () const |
void | DrawDataLabel (ISurface *pSurface, int x, int y, LPCTSTR str, const RECT &rcDiagram, RECT *rcUpdate) |
virtual void | DoPaintElement (ISurface *pSurface, const GColor &color, const RECT &rcDiagram, RECT *rcUpdate) |
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 &szName, const BeString &szText, ICoordList *crdlist=NULL) |
命令控制和属性设置接口 | |
virtual void | OnParseElementData (XMLItem *pNode, CControlUI *parent) |
virtual void | OnTranslateLanguage () |
![]() | |
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 (std::shared_ptr< CNodeData > valuedata) |
void | SetSyntaxAst (LPCTSTR str_script) |
void | SetName (BeString id) |
BeString & | Name () |
void | OnDrawNodeCell (ISurface *pSurface, int paintState, RECT rcCell, COLORREF textColor, UINT textAlignFlag, PathTransInfo *clipborderpath=NULL) |
void | SetNodeData (std::shared_ptr< CNodeData > valuedata) |
void | AddNodeData (std::shared_ptr< CNodeData > valuedata, int w=0, int h=0, SizeMode stw=AdaptFill, SizeMode sth=AdaptFill) |
void | InsertNodeData (int pos, std::shared_ptr< CNodeData > valuedata, int w=0, int h=0, SizeMode stw=AdaptFill, SizeMode sth=AdaptFill) |
void | SetNotifyHandler (IEventHandler *notify) |
BOOL | NotifyMsg (UINT message, WPARAM wp, LPARAM lp) |
void | NeedUpdateUI () |
void | NeedUpdateHostUI () |
void | ShellNodeCellAttribute (const BeString &szName, const BeString &szText) |
ItemState & | GetNodeState () |
void | Clear () |
BOOL | PtInCell (POINT pt) |
void | SetRect (int x, int y, int w, int h) |
RECT | CellRect () const |
std::shared_ptr< CNodeData > & | GetNodeData () |
Protected 属性 | |
CChartDataLabel * | m_datalabel |
额外继承的成员函数 | |
![]() | |
RECT | m_rcCell |
ItemState | m_state |
BeString | m_nameid |
IEventHandler * | m_notifyHandler |
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 |
被 BUI::CChartEleAttitudeIndicator, BUI::CChartEleBoxPlot, BUI::CChartEleCandles, BUI::CChartEleHeatmap, BUI::CChartElementImage, BUI::CChartEleLegendBox, BUI::CChartEleMeterPin, BUI::CChartEleMeterArc, BUI::CChartEleRect, BUI::CChartElePath, BUI::CChartElePathText, BUI::CChartEleText, BUI::CChartEleTextLinearAxis, BUI::CChartEleCorssLine, BUI::CChartEleRangeBar, BUI::CChartEleCircleNet, BUI::CChartElePoint, BUI::CChartElePointHeat, BUI::CChartElePie, BUI::CChartEleNotes, BUI::CChartEleScatter, BUI::CChartEleScatterBorder, BUI::CChartEleWaterDroplet , 以及 BUI::CChartEleTree 重载.
void BUI::CChartElement::DrawDataLabel | ( | ISurface * | pSurface, |
int | x, | ||
int | y, | ||
LPCTSTR | str, | ||
const RECT & | rcDiagram, | ||
RECT * | rcUpdate | ||
) |
CChartDataLabel * BUI::CChartElement::GetDataLabelInfo | ( | ) | const |
|
virtual |
|
virtual |
被 BUI::CChartElePoint 重载.
BOOL BUI::CChartElement::IsDrawDataLabel | ( | ) | const |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
void BUI::CChartElement::SetDataLabelInfo | ( | CChartDataLabel * | labelStyle | ) |
|
virtual |
命令控制和属性设置接口
szName属性 | szText语法格式 |
---|---|
name 图形名称 | name="xxx" |
被 BUI::CChartEleAttitudeIndicator, BUI::CChartEleBoxPlot, BUI::CChartEleCandles, BUI::CChartEleHeatmap, BUI::CChartElementImage, BUI::CChartEleLegendBox, BUI::CChartEleMeterPin, BUI::CChartEleMeterArc, BUI::CChartEleRect, BUI::CChartElePath, BUI::CChartElePathText, BUI::CChartEleText, BUI::CChartEleTextLinearAxis, BUI::CChartEleCorssLine, BUI::CChartEleRangeBar, BUI::CChartEleCircleNet, BUI::CChartElePoint, BUI::CChartElePointHeat, BUI::CChartElePie, BUI::CChartEleNotes, BUI::CChartEleScatter, BUI::CChartEleScatterBorder, BUI::CChartEleWaterDroplet , 以及 BUI::CChartEleTree 重载.
|
protected |