:: com :: sun :: star :: chart ::

enum ChartLegendPosition
Description
specifies one of the default positions of the legend in relation to the diagram.

Values
NONE no chart legend is displayed.  
LEFT displays the chart legend on the left side of the diagram.  
TOP displays the chart legend above the diagram.  
RIGHT displays the chart legend on the right side of the diagram.  
BOTTOM displays the chart legend beneath the diagram.  
Values' Details
NONE
NONE,
Description
no chart legend is displayed.

To disable the legend you should set the property ChartDocument::HasLegend to false instead of setting this value.

LEFT
LEFT,
Description
displays the chart legend on the left side of the diagram.

The second entry in the legend is placed below the first one.

TOP
TOP,
Description
displays the chart legend above the diagram.

The second entry in the legend is placed an the right hand side of the first one.

RIGHT
RIGHT,
Description
displays the chart legend on the right side of the diagram.

The second entry in the legend is placed below the first one.

BOTTOM
BOTTOM,
Description
displays the chart legend beneath the diagram.

The second entry in the legend is placed an the right hand side of the first one.

Top of Page