service ChartAxis in module com::sun::star::chart::

(Global Index)

Syntax

service ChartAxis;

Description

Specifies the axes in a diagram.

Note: The text properties correlate to all axis description elements, not to just a single text element.

Included Services

com::sun::star::drawing::LineProperties

Description

set the properties for the entire axis line as well as for the tick marks.


com::sun::star::style::CharacterProperties

Description

set the properties for all text labels of the axis


Exported Interfaces

com::sun::star::beans::XPropertySet

Description

provides information about and access to the properties from an implementation.


Property Summary

Max Contains the maximum value for the axis scale.

Min Contains the minimum value for the axis scale.

Origin Contains the origin of the axis scale.

StepMain Contains the distance between the main tick marks.

StepHelp Contains the distance between the help tick marks.

AutoMax The maximium value of the axis scale is calculated by the chart if this property is true .

AutoMin The minimum value of the axis scale is calculated by the chart if this property is true .

AutoOrigin The origin is calculated by the chart if this property is true .

AutoStepMain The distance between the main tick marks is calculated by the chart if this property is true .

AutoStepHelp The distance between the help tick marks is calculated by the chart if this property is true .

Logarithmic Determines if the axis is scaled logarithmically or not (linear).

DisplayLabels Determines whether to display text at the axis or not.

TextRotation Determines the rotation of the text elements (axis description) in 100th degrees.

Marks Determines the position of the marks.

HelpMarks Determines the position of the help marks.

Overlap Determines the overlap of the bars in a bar-type chart.

GapWidth Specifies the width of the gaps between each set of data points in a bar chart.

ArrangeOrder The axis description may be arranged in a special order for a better placement.

TextBreak Determines if long text is broken into multiple lines.

TextCanOverlap Determines if certain labels are hidden, if they would otherwise overlap. In this case, the value of this property must be set to false .

NumberFormat Contains the type id for the number formatter of the axis.

Property Details



Max [ O P T I O N A L ]

Syntax

double Max;

Description

Contains the maximum value for the axis scale.


Min [ O P T I O N A L ]

Syntax

double Min;

Description

Contains the minimum value for the axis scale.


Origin [ O P T I O N A L ]

Syntax

double Origin;

Description

Contains the origin of the axis scale.


StepMain [ O P T I O N A L ]

Syntax

double StepMain;

Description

Contains the distance between the main tick marks.


StepHelp [ O P T I O N A L ]

Syntax

double StepHelp;

Description

Contains the distance between the help tick marks.


AutoMax [ O P T I O N A L ]

Syntax

boolean AutoMax;

Description

The maximium value of the axis scale is calculated by the chart if this property is true .


AutoMin [ O P T I O N A L ]

Syntax

boolean AutoMin;

Description

The minimum value of the axis scale is calculated by the chart if this property is true .


AutoOrigin [ O P T I O N A L ]

Syntax

boolean AutoOrigin;

Description

The origin is calculated by the chart if this property is true .


AutoStepMain [ O P T I O N A L ]

Syntax

boolean AutoStepMain;

Description

The distance between the main tick marks is calculated by the chart if this property is true .


AutoStepHelp [ O P T I O N A L ]

Syntax

boolean AutoStepHelp;

Description

The distance between the help tick marks is calculated by the chart if this property is true .


Logarithmic [ O P T I O N A L ]

Syntax

boolean Logarithmic;

Description

Determines if the axis is scaled logarithmically or not (linear).


DisplayLabels

Syntax

boolean DisplayLabels;

Description

Determines whether to display text at the axis or not.


TextRotation

Syntax

long TextRotation;

Description

Determines the rotation of the text elements (axis description) in 100th degrees.


Marks

Syntax

long Marks;

Description

Determines the position of the marks.

See also

ChartAxisMarks

HelpMarks

Syntax

long HelpMarks;

Description

Determines the position of the help marks.

See also

ChartAxisMarks

Overlap

Syntax

long Overlap;

Description

Determines the overlap of the bars in a bar-type chart.

The value is given in percent of the width of the bars. The valid range is -100% to +100%. +100% means full overlap, -100% indicates a distance of one bar between 2 neighboring bars.


GapWidth

Syntax

long GapWidth;

Description

Specifies the width of the gaps between each set of data points in a bar chart.

The value is given in percent of the width of a bar; the valid range is 0 to 600%.


ArrangeOrder

Syntax

com::sun::star::chart::ChartAxisArrangeOrderType ArrangeOrder;

Description

The axis description may be arranged in a special order for a better placement.


TextBreak

Syntax

boolean TextBreak;

Description

Determines if long text is broken into multiple lines.


TextCanOverlap

Syntax

boolean TextCanOverlap;

Description

Determines if certain labels are hidden, if they would otherwise overlap. In this case, the value of this property must be set to false .


NumberFormat

Syntax

long NumberFormat;

Description

Contains the type id for the number formatter of the axis.

See also

XNumberFormatter
Top of Page