4 @SuppressWarnings public class QXYSeries : QAbstractSeries{
11 public QXYSeries(long handle){
15 public void append(
double x,
double y){
16 QtXnl.native_double2(nativehandle, Constant.QXYSERIES_APPEND, x, y);
20 for (
int i = 0; i < points.length; i++){
21 QtXnl.native_double2(nativehandle, Constant.QXYSERIES_APPEND, points[i].
x, points[i].
y);
25 public void remove(
int index){
26 QtXnl.widget_set_vint_value(nativehandle, Constant.QXYSERIES_REMOVE, index);
30 QtXnl.widget_set_v2int_value(nativehandle, Constant.QXYSERIES_REMOVEPOINTS, index, count);
34 QtXnl.widget_slot(nativehandle, Constant.QXYSERIES_CLEAR);
38 QtXnl.widget_set_native_value(nativehandle, Constant.QXYSERIES_SETBRUSH, brush.nativehandle);
41 public void setPen(QBrush nrush,
double width){
45 public void setPen(QBrush nrush,
double width, PenStyle style,
int color, PenCapStyle c, PenJoinStyle j){
50 return QtXnl.widget_get_int_value(nativehandle, Constant.QCHARTVIEW_POINTLABELSCOLOR);
54 return QtXnl.widget_get_int_value(nativehandle, Constant.QCHARTVIEW_COUNT);
58 QtXnl.widget_slot_string(nativehandle, Constant.QXYSERIES_SETPOINTLABELSFORMAT, format);
62 return (
String)QtXnl.core_getString(nativehandle, Constant.QXYSERIES_POINTLABELSFORMAT);
66 QtXnl.widget_set_bool_value(nativehandle, Constant.QXYSERIES_SETPOINTLABELSVISIBLE, visible);
70 return QtXnl.widget_get_bool_value(nativehandle, Constant.QXYSERIES_POINTLABELSVISIBLE);
74 QtXnl.widget_set_vint_value(nativehandle, Constant.QXYSERIES_SETCOLOR, color);
78 QtXnl.widget_set_vint_value(nativehandle, Constant.QXYSERIES_SETPOINTLABELSCOLOR, color);
void setPen(QBrush nrush, double width, PenStyle style, int color, PenCapStyle c, PenJoinStyle j)
void setBrush(QBrush brush)
String pointLabelsFormat()
void append(double x, double y)
void removePoints(int index, int count)
void setPen(QBrush nrush, double width)
void setPointLabelsColor(int color)
void append(QPointF [] points)
bool pointLabelsVisible()
void setPointLabelsVisible(bool visible)
void setPointLabelsFormat(String format)