xlang v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
QwtPlotBarChart.x
浏览该文件的文档.
1//xlang Source, Name:QwtPlotBarChart.x
2//Date: Wed Nov 05:00:16 2023
3package Qt{
4 @SuppressWarnings public class QwtPlotBarChart: QwtPlotAbstractBarChart{
5 public enum LegendMode
6 {
13 LegendChartTitle,
14
21 LegendBarTitles
22 };
23
25 nativehandle = QtXnl.long_object_string(0, QType.qtQwtPlotBarChart, this, title);
26 if (nativehandle == 0){
27 throw new IllegalArgumentException("can not new QwtPlotBarChart");
28 }
29 }
30
31 public void setSamples(float [] yData, int size ){
32 QtXnl.pointer_intlong2(yData, Constant.QwtPlotBarChart_setSamples, nativehandle, size);
33 }
34
35 public void setSymbol(QwtColumnSymbol s){
36 QtXnl.object_set_long_int_long(nativehandle, Constant.QwtPlotBarChart_setSymbol, 0, 0, s.nativehandle);
37 }
38
39 public QwtColumnSymbol specialSymbol(int sampleIndex, float x, float y) {
40 return nilptr;
41 }
42
43 public QwtText barTitle( int sampleIndex ) {
44 return new QwtText("" + sampleIndex);
45 }
46
47 public void delete(){
48 QtXnl.widget_slot(nativehandle, Constant.QwtPlotBarChart_CTOR);
49 }
50 };
51};
QwtText barTitle( int sampleIndex )
QwtColumnSymbol specialSymbol(int sampleIndex, float x, float y)
void setSymbol(QwtColumnSymbol s)
QwtPlotBarChart(String title)
void setSamples(float [] yData, int size )
字符串类