enum ChartLegendPosition in module com::sun::star::chart::

(Global Index)

Syntax

enum ChartLegendPosition;

Description

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

Values Summary

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

Syntax

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

Syntax

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

Syntax

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

Syntax

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

Syntax

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