|
| CChartSeriesLineInterpolation () |
|
virtual | ~CChartSeriesLineInterpolation () |
|
void | Clear () |
| 清空
|
|
void | DeleteControlPoint (int i) |
| 删除控制点
|
|
void | AddControlPoint (const VecFloat2 &pt) |
| 添加控制点
|
|
void | SetLinePatternImage (GImage *img) |
| 设置线条图案
|
|
void | SetRangeX (const VecFloat2 &v) |
| 设置插值显示的取值范围
|
|
void | SetSampleCountX (float step) |
| 设置X插值取样率
|
|
double | GetInterpolationValue (double xp) |
| 获得Y插值
|
|
void | BindAction (std::shared_ptr< IActionNotify > notify) |
|
void | ClearAction () |
| 清空事件
|
|
void | TriggerAction () |
|
void | SelectShadow (int dx, int dy, int blur_x, int blur_y, int spread_x, int spread_y, GColor color) |
|
void | OnPaintSeries (ISurface *pSurface, const RECT &rcDiagram, RECT *lpUpdate) override |
|
BOOL | OnNotifyMessage (IEventHandler *notify, UINT message, WPARAM wp, LPARAM lp) override |
|
void | ShellSeriesAttribute (const BeString &szName, const BeString &szText, ICoordList *crdlist) override |
| 命令控制和属性设置接口
|
|
void | OnParseItemData (XMLItem *pNode, ICoordList *crdlist) override |
|
| 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 |
|
| CChartSeries () |
|
virtual | ~CChartSeries () |
|
LPCTSTR | SeriesName () |
|
void | SetSeriesName (LPCTSTR name) |
|
void | SetSeriesID (UINT id) |
|
UINT | SeriesID () const |
|
BOOL | IsEnable () const |
|
void | SetEnable (BOOL enable) |
|
virtual void | OnTranslateLanguage () |
|
virtual void | ChangeThemeColors () |
|
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) |
|
| VisibleProperty () |
|
| ~VisibleProperty () |
|
BOOL | IsVisable () const |
|
void | SetVisable (BOOL bShow) |
|
| 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) |
|
| GStyleMarkShape () |
|
| ~GStyleMarkShape () |
|
void | SetMarkStyle (TypeMarkShape style) |
|
void | SetMarkSize (double marksize) |
|
void | SetMarkColor (const GColor &color) |
|
TypeMarkShape | GetMarkStyle () const |
|
double | GetMarkSize () const |
|
GColor | GetMarkColor () const |
|
void | OnPaintMarkShape (ISurface *pSurface, int cx, int cy, const RECT &rcDiagram, RECT *rcClip) |
|
void | OnPaintMarkShape (ISurface *pSurface, int cx, int cy, int size, const RECT &rcDiagram, RECT *rcClip) |
|
BOOL | OnPtInMarkShape (POINT pt, int cx, int cy) |
|
void | ShellMarkAttribute (const BeString &szName, const BeString &szText) |
|
| GStyleLine () |
|
| ~GStyleLine () |
|
BOOL | IsFillAreaPath () const |
|
void | FillAreaPath (BOOL bFill) |
|
void | SetLineMode (LineMode mode) |
|
LineMode | GetLineMode () const |
|
| GPenInfo () |
|
| ~GPenInfo () |
|
void | SetLineColor (GColor color) |
|
void | SetLineType (PenType style) |
|
void | SetLineWidth (int weight) |
|
float | GetLineWidth (BOOL display=TRUE) const |
|
GColor | GetLineColor () const |
|
PenType | GetLineType () const |
|
void | ShellAttributePen (const BeString &szName, const BeString &szText) |
|
插值曲线:支持双击加入控制点,移动控制点。对于任意点x,求出插值y。