答案 0 :(得分:1)
这应该可以解决问题:
XYGraphWidget.LineLabelStyle style = plot.getGraph().getLineLabelStyle(XYGraphWidget.Edge.BOTTOM);
style.getPaint().setTextAlign(Paint.Align.CENTER);
答案 1 :(得分:0)
我相信你是在画布上做的。
//input[@type ='radio'] (or)
//input[@type ='radio' and starts-with(@id,'gwt-uid-')]
/*If you have more than one checkbox, use value in an index as per selection */
(//input[@type ='radio'])[index]
(//input[@type ='radio' and starts-with(@id,'gwt-uid-')])[index]
应该这样做,我想。