|
| CChartSeriesLinePoints () |
|
virtual | ~CChartSeriesLinePoints () |
|
void | SetDownSample (int sample) |
| 设置降采样步长。即每sample个点降为1个点。最后的显示数据长度=实际数据长度/sample。
|
|
void | SetDownSampleUnit (int sample_unit) |
| 自动降采样时,此变量用于对采样率取下整。注意:仅在自动计算降采样时有效。
|
|
void | SetFirstPos (int pos) |
| 设置当前显示数据起点位置。
|
|
void | SetValue1Offset (float dv1) |
| 设置v1数组中,每一个值的偏移量。相当于整体平移
|
|
void | SetValue2Offset (float dv2) |
| 设置v2数组中,每一个值的偏移量。相当于整体平移
|
|
void | ClearPoints (BOOL clear_v1=TRUE) |
| 清空数据
|
|
void | InitVector1Data (int count, float begin, float step) |
| 初始化第一组数据
|
|
void | AppendValuePair (double v1, double v2, BOOL check_range=TRUE) |
| 添加数据点(v1,v2)。 注意:AppendValuePair不可以和(AppendValue2,AppendValue2ByArray)同时使用。
|
|
BOOL | AppendValue2 (double v2, BOOL isMark=FALSE, BOOL check_range=TRUE) |
| 添加数据点的v2值
|
|
BOOL | AppendValue2ByArray (double *v2, int count, BOOL check_range=TRUE) |
| 添加多个数据点的v2值
|
|
std::vector< float > & | GetValue2Points (int back_idx) |
| 获得第二个坐标轴指定缓冲的数组引用(非线程安全,但是无拷贝开销)
|
|
void | CopyValue2Points (std::vector< float > &vec, int back_idx) |
| 拷贝第二个坐标轴指定缓冲的数组引用(线程安全,但有O(n)拷贝开销)
|
|
void | SetCapacity (int count) |
| 设置可容纳点数量的最大值
|
|
void | GetRangeY (DataRangeHelper &range) const |
| 获得当前可视下v2的范围
|
|
void | OnPaintSeries (ISurface *pSurface, const RECT &rcDiagram, RECT *lpUpdate) override |
|
void | OnSizeChanged () override |
|
void | ShellSeriesAttribute (const BeString &szName, const BeString &szText, ICoordList *crdlist) override |
| 命令控制和属性设置接口
|
|
| CChartSeriesLine () |
|
virtual | ~CChartSeriesLine () |
|
void | UpdateRandomData (double low, double hight) |
|
void | SetLinePatternImage (GImage *img) |
| 设置线条图案
|
|
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) |
| 设置序列整数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) |
|
| 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) |
| 属性设置
|
|