It is the renderer which displays the text and shape of polygon or ellipse at the same time. If specify textVisible property of renderer as false, it will not display the text. The display location of shape is specified by GridStyles.shapeLocation. When GridStyles.shapeLocation is CENTER, the text will not be displayed either.
The size of shape is determined by the value which has been specified in GridStyles.shapeSize. shapeSize value can be a ratio value. When shapeSize has not been determined, the size will be determined by the percentage which has been set in sizeRate of renderer property.
The space between the text and shape is determined by GridStyles.shapePadding, and the space between the shape and data cell border is determined by GridStyles.shapeOffset.
The form of shape is specified by shapeName, and the shapes which can be displayed currently have been listed in the table below.
It specifies the type as "shape" when setting the column renderer.
Name | Explanation |
---|---|
empty | Take up room without drawing. |
rectangle | Rectangle |
triangle | Triangle |
itriangle | Upside-down triangle |
diamond | Diamond |
uparrow | Up arrow |
downarrow | Down arrow |
leftarrow | Left arrow |
rightarrow | Right arrow |
plus | Plus |
minus | Minus |
equal | Equality sign |
star | Star |
ellipse | Ellipse |