Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经使用XYAnnotation并绘制了一个矩形xylinechart。现在我怎样才能将它与另一个矩形annonation 连接起来?
XYAnnotation
xylinechart
一种方法是使用XYLineAnnotation
XYLineAnnotation
plot.addAnnotation(new XYBoxAnnotation( 0.5,0.5,1.5,1.5)); plot.addAnnotation(new XYBoxAnnotation( 4.5,3.5,5.5,4.5)); plot.addAnnotation(new XYLineAnnotation( 1.5,1.5,4.5,3.5));