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

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
::com::sun::star::xml::UserDefinedAttributeSupplier
Usage Restrictions
optional
Description
If a ChartAxis may be stored as XML element, this service should be supported in order to preserve unparsed XML attributes.
Since
OpenOffice 1.1.2
Exported Interfaces
::com::sun::star::beans::XPropertySet
(referenced entity's summary:)
provides information about and access to the properties from an implementation.
Properties' Summary
double
Max
[ OPTIONAL ]
Contains the maximum value for the axis scale.  
double
Min
[ OPTIONAL ]
Contains the minimum value for the axis scale.  
double
Origin
[ OPTIONAL ]
Contains the origin of the axis scale.  
double
StepMain
[ OPTIONAL ]
Contains the distance between the main tick marks.  
double
StepHelp
[ OPTIONAL ]
Contains the distance between the help tick marks.  
boolean
AutoMax
[ OPTIONAL ]
The maximium value of the axis scale is calculated by the chart if this property is true .  
boolean
AutoMin
[ OPTIONAL ]
The minimum value of the axis scale is calculated by the chart if this property is true .  
boolean
AutoOrigin
[ OPTIONAL ]
The origin is calculated by the chart if this property is true .  
boolean
AutoStepMain
[ OPTIONAL ]
The distance between the main tick marks is calculated by the chart if this property is true .  
boolean
AutoStepHelp
[ OPTIONAL ]
The distance between the help tick marks is calculated by the chart if this property is true .  
boolean
Logarithmic
[ OPTIONAL ]
Determines if the axis is scaled logarithmically or not (linear).  
boolean
DisplayLabels
Determines whether to display text at the axis or not.  
long
TextRotation
Determines the rotation of the text elements (axis description) in 100th degrees.  
long
Marks
Determines the position of the marks.  
long
HelpMarks
Determines the position of the help marks.  
long
Overlap
Determines the overlap of the bars in a bar-type chart.  
long
GapWidth
Specifies the width of the gaps between each set of data points in a bar chart.  
ChartAxisArrangeOrderType
ArrangeOrder
The axis description may be arranged in a special order for a better placement.  
boolean
TextBreak
Determines if long text is broken into multiple lines.  
boolean
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 .  
long
NumberFormat
Contains the type id for the number formatter of the axis.  
Properties' Details
Max
double Max;
Usage Restrictions
optional
Description
Contains the maximum value for the axis scale.
Min
double Min;
Usage Restrictions
optional
Description
Contains the minimum value for the axis scale.
Origin
double Origin;
Usage Restrictions
optional
Description
Contains the origin of the axis scale.
StepMain
double StepMain;
Usage Restrictions
optional
Description
Contains the distance between the main tick marks.
StepHelp
double StepHelp;
Usage Restrictions
optional
Description
Contains the distance between the help tick marks.
AutoMax
boolean AutoMax;
Usage Restrictions
optional
Description
The maximium value of the axis scale is calculated by the chart if this property is true .
AutoMin
boolean AutoMin;
Usage Restrictions
optional
Description
The minimum value of the axis scale is calculated by the chart if this property is true .
AutoOrigin
boolean AutoOrigin;
Usage Restrictions
optional
Description
The origin is calculated by the chart if this property is true .
AutoStepMain
boolean AutoStepMain;
Usage Restrictions
optional
Description
The distance between the main tick marks is calculated by the chart if this property is true .
AutoStepHelp
boolean AutoStepHelp;
Usage Restrictions
optional
Description
The distance between the help tick marks is calculated by the chart if this property is true .
Logarithmic
boolean Logarithmic;
Usage Restrictions
optional
Description
Determines if the axis is scaled logarithmically or not (linear).
DisplayLabels
boolean DisplayLabels;
Description
Determines whether to display text at the axis or not.
TextRotation
long TextRotation;
Description
Determines the rotation of the text elements (axis description) in 100th degrees.
Marks
long Marks;
Description
Determines the position of the marks.
See also
ChartAxisMarks
HelpMarks
long HelpMarks;
Description
Determines the position of the help marks.
See also
ChartAxisMarks
Overlap
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
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
ChartAxisArrangeOrderType ArrangeOrder;
Description
The axis description may be arranged in a special order for a better placement.
TextBreak
boolean TextBreak;
Description
Determines if long text is broken into multiple lines.
TextCanOverlap
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
long NumberFormat;
Description
Contains the type id for the number formatter of the axis.
See also
::com::sun::star::util::XNumberFormatter

 
Top of Page