xlang v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
Public 成员函数
QXYSeries类 参考
类 QXYSeries 继承关系图:
QAbstractSeries QLineSeries QSplineSeries

Public 成员函数

额外继承的成员函数

详细描述

在文件 QXYSeries.x4 行定义.

构造及析构函数说明

◆ QXYSeries() [1/2]

QXYSeries ( )

在文件 QXYSeries.x7 行定义.

7 {
8
9 }

◆ QXYSeries() [2/2]

QXYSeries ( long  handle)

在文件 QXYSeries.x11 行定义.

11 {
12 super(handle);
13 }

成员函数说明

◆ append() [1/2]

void append ( double  x,
double  y 
)

在文件 QXYSeries.x15 行定义.

15 {
16 QtXnl.native_double2(nativehandle, Constant.QXYSERIES_APPEND, x, y);
17 }

◆ append() [2/2]

void append ( QPointF []  points)

在文件 QXYSeries.x19 行定义.

19 {
20 for (int i = 0; i < points.length; i++){
21 QtXnl.native_double2(nativehandle, Constant.QXYSERIES_APPEND, points[i].x, points[i].y);
22 }
23 }

引用了 QPointF.x , 以及 QPointF.y.

◆ clear()

void clear ( )

在文件 QXYSeries.x33 行定义.

33 {
34 QtXnl.widget_slot(nativehandle, Constant.QXYSERIES_CLEAR);
35 }

◆ count()

int count ( )

在文件 QXYSeries.x53 行定义.

53 {
54 return QtXnl.widget_get_int_value(nativehandle, Constant.QCHARTVIEW_COUNT);
55 }

◆ pointLabelsColor()

int pointLabelsColor ( )

在文件 QXYSeries.x49 行定义.

49 {
50 return QtXnl.widget_get_int_value(nativehandle, Constant.QCHARTVIEW_POINTLABELSCOLOR);
51 }

◆ pointLabelsFormat()

String pointLabelsFormat ( )

在文件 QXYSeries.x61 行定义.

61 {
62 return (String)QtXnl.core_getString(nativehandle, Constant.QXYSERIES_POINTLABELSFORMAT);
63 }
字符串类

◆ pointLabelsVisible()

bool pointLabelsVisible ( )

在文件 QXYSeries.x69 行定义.

69 {
70 return QtXnl.widget_get_bool_value(nativehandle, Constant.QXYSERIES_POINTLABELSVISIBLE);
71 }

◆ remove()

void remove ( int  index)

在文件 QXYSeries.x25 行定义.

25 {
26 QtXnl.widget_set_vint_value(nativehandle, Constant.QXYSERIES_REMOVE, index);
27 }

◆ removePoints()

void removePoints ( int  index,
int  count 
)

在文件 QXYSeries.x29 行定义.

29 {
30 QtXnl.widget_set_v2int_value(nativehandle, Constant.QXYSERIES_REMOVEPOINTS, index, count);
31 }

◆ setBrush()

void setBrush ( QBrush  brush)

在文件 QXYSeries.x37 行定义.

37 {
38 QtXnl.widget_set_native_value(nativehandle, Constant.QXYSERIES_SETBRUSH, brush.nativehandle);
39 }

◆ setColor()

void setColor ( int  color)

在文件 QXYSeries.x73 行定义.

73 {
74 QtXnl.widget_set_vint_value(nativehandle, Constant.QXYSERIES_SETCOLOR, color);
75 }

◆ setPen() [1/2]

void setPen ( QBrush  nrush,
double  width 
)

在文件 QXYSeries.x41 行定义.

41 {
42
43 }

◆ setPen() [2/2]

void setPen ( QBrush  nrush,
double  width,
PenStyle  style,
int  color,
PenCapStyle  c,
PenJoinStyle  j 
)

在文件 QXYSeries.x45 行定义.

45 {
46
47 }

◆ setPointLabelsColor()

void setPointLabelsColor ( int  color)

在文件 QXYSeries.x77 行定义.

77 {
78 QtXnl.widget_set_vint_value(nativehandle, Constant.QXYSERIES_SETPOINTLABELSCOLOR, color);
79 }

◆ setPointLabelsFormat()

void setPointLabelsFormat ( String  format)

在文件 QXYSeries.x57 行定义.

57 {
58 QtXnl.widget_slot_string(nativehandle, Constant.QXYSERIES_SETPOINTLABELSFORMAT, format);
59 }

◆ setPointLabelsVisible()

void setPointLabelsVisible ( bool  visible)

在文件 QXYSeries.x65 行定义.

65 {
66 QtXnl.widget_set_bool_value(nativehandle, Constant.QXYSERIES_SETPOINTLABELSVISIBLE, visible);
67 }