:: com :: sun :: star :: chart2 ::

unpublished enum LegendSymbolStyle

Values
BOX A square box with border.  
BAR A rectangle that is wider than high with border.  
RECTANGLE A square box with border, that may change its aspect ratio if the layout of the legend requires this.  
STRETCHED_RECTANGLE A filled rectangle with no border that uses all the space available for the legend entry's symbol, leaving no padding space. This is especially useful for legends representing a color-scale.  
HORIZONTAL_LINE A line extending from the left edge to the right edge  
VERTICAL_LINE A line extending from the top edge to the bottom edge  
DIAGONAL_LINE A line spanning the diagonal of the box you would get with BOX .  
LINE_WITH_BOX A line like with LINE , but with a small bordered square box in the middle.  
LINE_WITH_SYMBOL A line like with LINE , but with the symbol that is returned by XLegendEntry::getSymbol (see also USER_DEFINED ).  
CIRCLE A bordered circle which has the same bounding-box as the BOX .  
USER_DEFINED Use the symbol that is returned by XLegendEntry::getSymbol .  
Values' Details
BOX
BOX,
Description
A square box with border.
BAR
BAR,
Description
A rectangle that is wider than high with border.
RECTANGLE
RECTANGLE,
Description
A square box with border, that may change its aspect ratio if the layout of the legend requires this.
STRETCHED_RECTANGLE
STRETCHED_RECTANGLE,
Description
A filled rectangle with no border that uses all the space available for the legend entry's symbol, leaving no padding space. This is especially useful for legends representing a color-scale.
HORIZONTAL_LINE
HORIZONTAL_LINE,
Description
A line extending from the left edge to the right edge
VERTICAL_LINE
VERTICAL_LINE,
Description
A line extending from the top edge to the bottom edge
DIAGONAL_LINE
DIAGONAL_LINE,
Description
A line spanning the diagonal of the box you would get with BOX .
LINE_WITH_BOX
LINE_WITH_BOX,
Description
A line like with LINE , but with a small bordered square box in the middle.
LINE_WITH_SYMBOL
LINE_WITH_SYMBOL,
Description
A line like with LINE , but with the symbol that is returned by XLegendEntry::getSymbol (see also USER_DEFINED ).
CIRCLE
CIRCLE,
Description
A bordered circle which has the same bounding-box as the BOX .
USER_DEFINED
USER_DEFINED,
Description
Use the symbol that is returned by XLegendEntry::getSymbol .
Top of Page