Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


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

struct ScaleData

Elements' Summary
Minimum if the any contains a double value this is used as a fixed maximum. Otherwise, if the any is empty or contains an incompatible type, the maximum is automatic.  
Maximum if the any contains a double value this is used as a fixed minimum. Otherwise, if the any is empty or contains an incompatible type, the minimum is automatic.  
Origin The Origin indicates where other axes cross this axis. If the any contains a double value that value is used. Otherwise an appropriate value has to be calculated by that instances using Origin.  
Orientation Axis orientation (standard or reversed).  
Scaling  
Categories  
AxisType describes the type of the axis.  
AutoDateAxis if true an AxisType CATEGORY is interpreted as DATE if the underlying data given in Categories are dates  
ShiftedCategoryPosition describes wether data points on category or date axis are placed between tickmarks or not if true the maximum on the scale will be expanded for one interval  
IncrementData increment data to be used for not date-time axis  
TimeIncrement increment data to be used in case of date-time axis  
Elements' Details
Minimum
any Minimum;
Description
if the any contains a double value this is used as a fixed maximum. Otherwise, if the any is empty or contains an incompatible type, the maximum is automatic.

If the maximum is automatic, this means, each view that represents the model containing this scale, has to calculate a maximum by its own means.

Maximum
any Maximum;
Description
if the any contains a double value this is used as a fixed minimum. Otherwise, if the any is empty or contains an incompatible type, the minimum is automatic.

If the minimum is automatic, this means, each view that represents the model containing this scale, has to calculate a minimum by its own means.

Origin
any Origin;
Description
The Origin indicates where other axes cross this axis. If the any contains a double value that value is used. Otherwise an appropriate value has to be calculated by that instances using Origin.
Orientation
AxisOrientation Orientation;
Description
Axis orientation (standard or reversed).

If used at the Y axis in pie charts or doughnut charts, specifies the rotation direction of the pie. The value AxisOrientation::MATHEMATICAL rotates the pie counterclockwise, the value AxisOrientation::REVERSE rotates the pie clockwise.

Note: Is this a good place for the axis orientation? Two axes may use the same scale, but point into two different directions.

Scaling
XScaling Scaling;
Categories
::com::sun::star::chart2::data::XLabeledDataSequence Categories;
AxisType
long AxisType;
Description
describes the type of the axis.

It can be a real number axis or a category axis or something else. AxisType is one value out of the constant group AxisType.

AutoDateAxis
boolean AutoDateAxis;
Description
if true an AxisType CATEGORY is interpreted as DATE if the underlying data given in Categories are dates
ShiftedCategoryPosition
boolean ShiftedCategoryPosition;
Description
describes wether data points on category or date axis are placed between tickmarks or not if true the maximum on the scale will be expanded for one interval
IncrementData
IncrementData IncrementData;
Description
increment data to be used for not date-time axis
TimeIncrement
::com::sun::star::chart::TimeIncrement TimeIncrement;
Description
increment data to be used in case of date-time axis
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.