To insert an arc into a report,
- click the Insert Arc button on the Edit toolbar,
- or go to the Insert menu, select Draw, and then click Arc.
JReport arc can cross sections.
Property name Description Editable Formula Control Data Type General ClassType Display the class type: ArcShape N N _ Geometry TopAttacthPosX The horizontal coordinate of the top left point of the focus box in a section, and the position can also be changed by moving in the Design mode. Y N Float TopAttacthPosY The vertical coordinate of the top left point of the focus box in a section, and the position can also be changed by moving in the Design mode. Y N Float BottomAttachPosX The horizontal coordinate of the bottom right point of the focus box in a section, and the position can also be changed by moving in the Design mode. Y N Float BottomAttachPosY The vertical coordinate of the bottom right point of the focus box in a section, and the position can also be changed by moving in the Design mode. Y N Float Color Background The background color inside the arc, specify with a string like "0xff00ff" to control or choose a color in the palette. Y N String Others Invisible Not displayed in the View mode if true. Y N Boolean BoxProperty Bordercolor Arc line color. Y N String BorderStyle Arc line style (dash line, dot line, dashdot line and solid line). Y N Int BorderWidth Arc line thickness. Y N Float ArcProperty StartAngle Enter values from 0 to 360. This positions your arc. At 0, the vertex of the arc starts at 12:15. As you get closer to 360, the arc travels in a counter clockwise motion. Y N Int ArcAngle Enter values from 0 to 360. As you get closer to 360, the arc begin to take an elliptical shape Y N Int
Notes:
1. Arc is part of the circumference of a circle or other curved line. When you insert an arc into a report, you will notice the selected object is a box. You can control its position with the coordinates of the top left and bottom right point of the box.
2. When a report is exported to a html or rtf format file, arcs in it cannot be shown. There is no such problem for PDF, PS, and other outputs.